-
Notifications
You must be signed in to change notification settings - Fork 51
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
libdft64 terminates early? #9
Comments
The libdft-dta.so from the vuzzer64 directory doesn't support the -s option - that is why it always dies. The pin.log is created when the PIN generates error. Before you run the application please delete the file. |
have a look at run_2.sh to understand how to call it separately. |
@tosanjay Thanks for your response! Is there a description of the -x flag somewhere? Is there some example usage for run_2.sh? I'm not sure what the inputs are here. Also, if -s 1 is not supported, is there some other way to mark "tainted data" in this version of libdft64? |
$PIN_ROOT/pin -t libdft-dta.so -filename $2 -x $3 -- $1 If you look at the function execute2 in runfuzzer.py, you can derive that $2= name of the file which is input to the program (taint source) |
Thanks @tosanjay, this works! I am trying to also print out the instruction trace with a tainted/not tainted tag alongside it. Is there a function I could use/expand to do that? If not, did you have some idea as to what part of the api I should start looking at first? Thanks again! |
I'm trying to use libdft-dta tool for taint tracking. But, I'm having issues with running it with flags. This is the command I'm using:
$PIN_HOME/pin -follow_execv -t $DFT_HOME/tools/libdft-dta.so -s 1 -- ./hw.o
Here is hw.c:
compiled with:
gcc hw.c -o hw.o
However, cmp.out and lea.out are empty. pintool.log says "died":
It does not even prompt me for stdin as per hw.c.
However, when not using the -s 1 flag, it prompt me for stdin as expected and the pintool.log looks like it ran (?):
But, pin.log reports "missing application":
Also, cmp.out and lea.out are empty.
Any ideas? Thanks in advance!
The text was updated successfully, but these errors were encountered: