Missing "address-of" operator & in arm_reg_ptr function.
It looks to me that the arm_reg_ptr function is getting the reference of arm registers, but the reference operator & is missing when handling registers from R0 to R12 and D0 to D31, as shown in this fix.
Please let me know if this makes sense.
Regards.
Hi enlighten5,
that makes sense. I think this was due to the fact that the API is used for the NVIC implementation which does not use the general purpose registers. If you like, you could create a pull request.
Tobi
Sure, I've created a pull request.
Also, I am wondering if you plan to upgrade the unicorn emulator to the latest version.
I tried to port your changes to Unicorn to the latest version. but there are some crashes when running with the pipeline. I haven't looked into it yet but I guess it might be related to incompatibilities with the code in fuzzware_harness.