You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use libtiff to have a try,I set location manually and as the rule.But I found the Ftarget.txt is incorrect,because I choose an alone function,but it's always main.I don't know why.
The text was updated successfully, but these errors were encountered:
The problem is that AFLGo's LLVM-pass cannot identify the basic block corresponding to the specified program location (and therefore the function containing that basic block). This can have two reasons:
the format how you specify the target is incorrect (e.g., "file.c:123" would be correct if it is executable)
LLVM may not carry line number information for all instructions.
LLVM encodes the location (file / line number) corresponding to an instruction in a basic block. We access the location information of an instruction via getDebugLoc (https://github.com/aflgo/aflgo/blob/master/llvm_mode/afl-llvm-pass.so.cc#L288). It seems not all instruction carry such debug information.
When I use libtiff to have a try,I set location manually and as the rule.But I found the Ftarget.txt is incorrect,because I choose an alone function,but it's always main.I don't know why.
The text was updated successfully, but these errors were encountered: