Unicorn default ARM CPU configuration and corresponding ISA #2094
Unanswered
VincentDary
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am not very confident with Qemu source code and minus with the tricky fork done by Unicorn Engine.
I would like to know the ISA used when user select the following mode
UC_MODE_ARM
/UC_ARCH_ARM
without adding any constant likeUC_MODE_*\UC_CPU_ARM_*
.It seems easier to understand the oposite case, when a specific variant is configured, For example ARM 926, in
unicorn/qemu/target/arm/cpu.c
the CPU configuration and the configured ISA related toUC_MODE_ARM926\UC_CPU_ARM_926
flag, is done inarm926_initfn()
, which set theARM_FEATURE_V5
feature, corresponding to ISA ARM v5 variant.Maybe the default ISA used by Unicorn when there is no specific configuration is just a subset of ARM instruction shared by all the CPU variant which have not concret equivalent in the real world ?
My environment:
Beta Was this translation helpful? Give feedback.
All reactions