-
Notifications
You must be signed in to change notification settings - Fork 57
started to implement ptrace behaviour #78
base: master
Are you sure you want to change the base?
Conversation
Have you tested this? I don't believe this will work. A new SimProcedure instance is created for each time the procedure is executed... |
Yes, I just tested it against this program:
and executed the following commands :
If your concern is about the "ptrace.selftraced" variable, it is a static variable for the class ptrace and can be used everywhere, whereas "self.selftraced" would be specific to an instance of a class |
I think the issue that @rhelmot is pointing out is that in this implementation with
If you run this with a symbolic There is also the more complicated question of dealing with symbolic values of |
Quick question : I was trying to make
I am not quite familiar with angr's internal for now so I don't understand the meaning of this variable : is this behaviour a bug or is there something I don't understand and it doesn't make sense to |
The fact that it uses You don't need to do a call out to BTW, with regard to the original issue with the |
Please squash this horrible git history when merging :D |
@themaks You can squash them with a force push! |
48c5772
to
22f5c7c
Compare
now handles PTRACE_TRACEME requests
thanks, I didn't know I could do that ! |
This looks great! Can you please add a testcase in some way? The ideal way would be a pull request to |
ptrace syscall now handles the PTRACE_TRACEME request