Skip to content
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

Add a simple alignment check in senryx #63

Merged
merged 5 commits into from
Oct 23, 2024
Merged

Conversation

DiuDiu777
Copy link
Contributor

This pr:

  1. Add the basic align check module, which tracks the abstract state based on the rvalue of the pointer type and checks for the presence of small to big casts
  2. Use CVE's classic align issue as a test case, now you can:
    cd tests/senryx_tests/slice_from_raw_parts/
    Then run cargo rap -senryx to get an initial version of the output.

Other unsafe apis and program status are tracked and developed based on this demo in the future.

@hxuhack hxuhack merged commit 4981196 into Artisan-Lab:main Oct 23, 2024
1 check 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.

2 participants