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

Improve initial state. #113

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Improve initial state. #113

merged 1 commit into from
Sep 9, 2024

Conversation

salls
Copy link
Member

@salls salls commented May 29, 2024

Use SpecialFillerMixin to improve reads of unmapped memory. Remove floating point support in fast mode. Store symbolic values in vex regs so a new symbolic value isn't created on those reads

@salls
Copy link
Member Author

salls commented May 29, 2024

wait on this until angr/angr#4664 is merged

@salls
Copy link
Member Author

salls commented May 31, 2024

@Kyle-Kyle I fixed the commenting to clarify this is for uninitialized memory. I also tried with throwing an error on initialized memory access. However, with an error some more code was needed in other places and performance was not improved

…apeed memory. Remove floating point support in fast mode
@salls
Copy link
Member Author

salls commented May 31, 2024

Also using the error on uninitialized reads breaks gadgets like this:
mm0 is uninitialized so shows as an uninitialized read

p.factory.block(0x4421b5).pp()
4421b5 pmovmskb eax, mm0
4421b8 and eax, 0x80
4421bd ret

@Kyle-Kyle
Copy link
Collaborator

I thought you were going to hit the merge button. But apparently you didn't.
Let me merge it then :)

@Kyle-Kyle Kyle-Kyle merged commit 572184a into angr:master Sep 9, 2024
13 of 14 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.

2 participants