Hi!
I am trying to use the pintool you uploaded to skip the open syscall (skip_system_call/pin_sim.cc) but it does not seem to work. I even used the same test.cc code you have and according to your code if an open syscall is instrumented it should print cout << "open(" << path << ")" << endl;. but when I run the pintool it doesn't do this. I also tried to print every syscall pin is instrumenting but weirdly it doesn't seem to instrument any open syscalls whatsoever. Here is my output explaining what I mean:
entered syscall: 12
entered syscall: 158
entered syscall: 21
entered syscall: 257
entered syscall: 5
entered syscall: 9
entered syscall: 3
entered syscall: 257
entered syscall: 0
entered syscall: 17
entered syscall: 17
entered syscall: 17
entered syscall: 5
entered syscall: 9
entered syscall: 17
entered syscall: 17
entered syscall: 17
entered syscall: 9
entered syscall: 9
entered syscall: 9
entered syscall: 9
entered syscall: 9
entered syscall: 3
entered syscall: 158
entered syscall: 10
entered syscall: 10
entered syscall: 10
entered syscall: 11
entered syscall: 12
entered syscall: 12
entered syscall: 257
entered syscall: 5
entered syscall: 9
entered syscall: 3
entered syscall: 3
For x86_64 open syscall has the number 2 (confirmed it by printing SYS_open value) but if you see the list of encountered syscalls 2 is nowhere to be found. Did you face this issue? if so how did you fix it?
Appreciate any help.
Hi!
I am trying to use the pintool you uploaded to skip the open syscall (skip_system_call/pin_sim.cc) but it does not seem to work. I even used the same test.cc code you have and according to your code if an open syscall is instrumented it should print
cout << "open(" << path << ")" << endl;. but when I run the pintool it doesn't do this. I also tried to print every syscall pin is instrumenting but weirdly it doesn't seem to instrument any open syscalls whatsoever. Here is my output explaining what I mean:For x86_64 open syscall has the number 2 (confirmed it by printing SYS_open value) but if you see the list of encountered syscalls 2 is nowhere to be found. Did you face this issue? if so how did you fix it?
Appreciate any help.