Skip to content

Rewrite jump table parsing for CFA#23

Merged
rjkiv merged 16 commits intomainfrom
cfa_tests
Feb 22, 2026
Merged

Rewrite jump table parsing for CFA#23
rjkiv merged 16 commits intomainfrom
cfa_tests

Conversation

@rjkiv
Copy link
Owner

@rjkiv rjkiv commented Feb 22, 2026

Wanted to redo jump table parsing using the knowledge I've obtained about how jump tables are detected. Ended up writing a bunch of tests, identified skeletons of what jump table detection looks like, (for the most part) reduced the number of hacks from 0.1.0.

Notably, I removed the initial pdata related asserts that I had placed, as those asserts were assuming the known end of a function was reached on the first run of CFA, not having realized that multiple run throughs may be required depending on the number of branches and overall complexity.

With all these changes, most of my test xexes now pass CFA, and any failures I see now do not appear to be jump table related.

@rjkiv rjkiv merged commit d227ee8 into main Feb 22, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant