ghidra-plugin-hexagon icon indicating copy to clipboard operation
ghidra-plugin-hexagon copied to clipboard

Misbehaving analyzer clears instructions after calls to non-returning functions

Open toshipiazza opened this issue 3 years ago • 1 comments

See below

ca 4b 00 5a  {  J2_call                             assert_fail
    -- Flow Override: CALL_RETURN (CALL_TERMINATOR)

All instructions after the call are undefined. Also notice that the J2_call is not the end of its own packet. This occasionally breaks decompilation as well

toshipiazza avatar Feb 21 '22 07:02 toshipiazza

Unchecking "Repair Flow Damage" under the "Non-Returning Functions - Discovered" analyzer seems like a temporary workaround

image

toshipiazza avatar Feb 21 '22 10:02 toshipiazza