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

Fixes improper sorting of function arguments when lifting to LLVM #1379

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

fadillzzz
Copy link

When lifting a function to LLVM, the function arguments are incorrectly sorted because each one of them isn't getting dereferenced. This causes the operator< overload not getting called during comparison. If the address of the first pointer happens to be greater than the second one, the following will occur:

image

@JonathanSalwan JonathanSalwan changed the base branch from master to dev-v1.0 December 20, 2024 12:53
@JonathanSalwan JonathanSalwan added this to the v1.0 milestone Dec 20, 2024
@JonathanSalwan JonathanSalwan merged commit 11e2782 into JonathanSalwan:dev-v1.0 Feb 6, 2025
21 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants