IRC channel logs
2023-08-03.log
back to list of logs
<ekaitz>I have a question for the C hackers here <ekaitz>why gdb is unable to `record` my binary? <ekaitz>> Process record and replay target doesn't support syscall number 334 <muurkha>it sounds like it's unable to record your binary because it doesn't support syscall number 334 <muurkha>record and replay needs to understand every syscall that happens during recording <muurkha>that's because if you do a syscall it doesn't understand, that syscall can provide some input to your program by modifying its memory in some random place that gdb can't guess <muurkha>and without recording that input, it can't reproduce its behavior on replay <muurkha>I tried this to find out what 334 might be: locate syscall.h | xargs grep 334 <muurkha>it suggested: /usr/include/x86_64-linux-musl/bits/syscall.h:#define SYS_rseq 334 <ekaitz>thanks a lot for the explanation, though, now I understand <ekaitz>if I record in a smaller piece of code I can manage to avoid the rseq? <muurkha>are you sure it's really using rseq?