UQ-PAC / BASIL

Apache License 2.0
8 stars 0 forks source link

Resolving within-procedure indirect calls #234

Open l-kent opened 3 weeks ago

l-kent commented 3 weeks ago

Indirect calls can also be to other blocks in a procedure, not just to other procedures. We currently cannot resolve these. In these cases, the register called in the indirect call points to another block, not another procedure.

The test cases that include this behaviour are \test\correct\switch2\clang and \test\correct\jumptable3\clang (only the GTIRB versions, BAP just does not lift these structures properly at all unfortunately).