-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
There is a null pointer reference bug #2090
Comments
How did you construct the context object? Or could you post the full reproduction? |
Similar to the code above |
Of course my original code is written in go. |
This usage was well tested here: Line 754 in d568885
|
Oh I see, you are writing to PC register. Yeah, this is a bug. We left out uc pointer here. |
It seems that arm's |
Null pointer dereference when
uc_context_reg_write
writes toUC_ARM_REG_PC
register.qemu/target/arm/unicorn_arm.c -> reg_write
I don't quite understand why arm has a custom
uc_arm_context_save
It seems that there is no copy of the uc structure pointer to
env->uc
in the codeThe text was updated successfully, but these errors were encountered: