Skip to content

Improve Reachability for Blocks Ending with syscall abort/sol_panic_ #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LeoQ7
Copy link

@LeoQ7 LeoQ7 commented Mar 18, 2025

Currently, the implementation mistakenly assumes that lbb_42 is reachable from lbb_41 in the following case:

lbb_41:
    syscall abort
lbb_42:

As a result, lbb_41 is incorrectly added to the sources of lbb_42, and lbb_42 is added to the destinations of lbb_41. However, this is inaccurate since execution does not continue past syscall abort.

This PR corrects the reachability to ensure that blocks terminating with syscall abort are properly handled.

@LeoQ7 LeoQ7 changed the title Fix Incorrect Reachability for Blocks Ending with syscall abort/sol_panic_ Improve Reachability for Blocks Ending with syscall abort/sol_panic_ Mar 19, 2025
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