-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
32 bit arm regs #315
32 bit arm regs #315
Conversation
aarch64 regs are called x0-xN... And you can access the 16 bit part of them individually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe change the names?
libafl_qemu/src/aarch64.rs
Outdated
#[derive(IntoPrimitive, TryFromPrimitive, Debug, Clone, Copy, EnumIter)] | ||
#[repr(i32)] | ||
pub enum Aarch64Regs { | ||
R0 = 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aarch64 regs are called x0-xN... And you can access the 16 bit part of them individually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aarch is more complex, dropped it for now
* aarch and arm regs * fix arm, remove aarch64 * remove aarch64 mod
Although some way to autogenerate registers would probably be nicer in the long run, this PR adds a the basic arm and aarch64 registers