my old patch used ptrace to figure out when the target opens the input file: https://gist.github.com/thejh/617ee67aa43e236ee266 …
but for some reason @lcamtuf seems to dislike ptrace, intel syntax, process_vm_readv and everything else that's good
-
-
Ah thanks a lot for the advise guys! Looking back at the AFL README,
@lcamtuf explains that __AFL_INIT should be placed before any timer, file, thread or process creation. That's probably why he disliked the idea of 'just' detecting input usage. -
Ideally, have a target process that does none of these things to begin with! (Read from stdin, no threads, no spawning.) Although I don't know how the reading from stdin would work for a persistent app if your inputs are variable-size.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.