Add gammaray test

This commit is contained in:
Florian RICHER 2024-06-27 21:22:07 +02:00
parent cef2787c95
commit d783d9302e
3 changed files with 19 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
.vscode .vscode
build/ build/
.cache/ .cache/
.direnv/

View file

@ -4,3 +4,15 @@
2. `cmakeConfigurePhase` 2. `cmakeConfigurePhase`
3. `buildPhase` 3. `buildPhase`
4. `./src/tutorial_kirigami2` 4. `./src/tutorial_kirigami2`
For use gammaray, you need to disable yama security.
```
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
```
Then run with,
```
gammaray ./src/tutorial_kirigami2
```

View file

@ -22,6 +22,11 @@
pkgs.ninja pkgs.ninja
pkgs.cmake pkgs.cmake
pkgs.gcc pkgs.gcc
# Not required at compile time
pkgs.gammaray
pkgs.gdb # Required for gammaray
pkgs.lldb # Required for gammaray
]; ];
dontFixCmake = true; dontFixCmake = true;