libdft64
libdft64 copied to clipboard
Printing taint tracked instructions
Hi,
I tried to print the instructions using taint tracked data by uncommenting the following code: https://github.com/AngoraFuzzer/libdft64/blob/master/src/libdft_api.cpp#L302
But it seems to print all the instructions which are executed after tainted = true
set in here: https://github.com/AngoraFuzzer/libdft64/blob/master/src/syscall_hook.cpp#L19
Is there another way to print the taint tracked instructions?
It looks like there is no existed way to find tainted instructions. You may need to mark them respectively by yourself.
Alright, do you have any suggestions on what might be a good way to do that?
Sorry that I am not able to offer any good advice since the rules for taint propagation is too trivial. e.g for binary ops, you may add hook for tag_combine to detect if it is tainted or not, but it does not works on mov instructions.