-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INS_InsertCall for Reads #3
Comments
I pushed a commit to fix that little bug. If you check out line 33 in INS.cpp you can see how we check for memory being written and you can add a similar check for memory being read as well and then you can add some things to the dictionary to expose the functionality that your interested in. Im going to close this issue for now but if you have other questions or need an example please feel free to ask. |
I am able to set things like registers being read/write. However, is there some way to expose the ins_object to be included in the python dictionary as well? INS.cpp:5, so that in the calling function I could run things like
For your situational awareness, I am trying to recreate Taint Anaylsis with PIN in python. |
Im at work atm but will look into it tonight. @ancat is working on the z3 importing stuff today as well expect updates soon. If we can get that blog post working I think it will be a cool demo showing off some of what python_pin can do. |
student@ubuntu:~/Desktop/pin_dir/source/tools/Python_Pin$ sudo bash ../../../pin.sh -t obj-intel64/Python_Pin.so -m examples/uaf_finder.py -- /bin/cat ../../../../input.txt
E:INS.cpp:131: Cannot use IARG_MEMORYWRITE_EA for ins without memory write ( 20 0x00007f37d87cba8f mov rax, qword ptr [rip+0x21e3da])
It seems that line 130 in INS.cpp only account for using the INS_InsertCall with a write operation, when the documentation shows that it can be used with reads as well.\
Thanks for all your work.
The text was updated successfully, but these errors were encountered: