mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Keep track of how jump targets have been met
This commit registers for each jump target how we met it, as a flag. It also keeps track of which pointers in global data have been involved in materialization performed by SET: those who are not are of special interest for us, since they are likely function pointers, and are therefore marked with a specific flag.
This commit is contained in:
@@ -964,6 +964,8 @@ void CodeGenerator::translate(uint64_t VirtualAddress,
|
||||
|
||||
JumpTargets.translateIndirectJumps();
|
||||
|
||||
JumpTargets.finalizeJumpTargets();
|
||||
|
||||
purgeDeadBlocks(MainFunction);
|
||||
Translator.finalizeNewPCMarkers(CoveragePath, EnableTracing);
|
||||
Debug->generateDebugInfo();
|
||||
|
||||
Reference in New Issue
Block a user