Open XVilka opened 11 months ago
│ ╎ 0x8000433a 910000f7 movh.a a15, #0x7000 ; Core0.c:105
│ ╎ 0x8000433e 19ff1000 ld.w d15, [a15]#0x10
│ ╎ 0x80004342 3bf00f40 mov d4, #0xff ; Core0.c:109
│ ╎ 0x80004346 c21f add d15, #1 ; Core0.c:108
│ ╎ 0x80004348 59ff1000 st.w [a15]#0x10, d15
In this case
a15 = 0x7000_0000
d15 = Mem[a15 + 0x10] = Mem[0x7000_0010] = myErrorCounter
but the instructions must be executed during disassembly to obtain this information. I guess in some architectures esil is used to simulate execution? But tricore does not implement the esil function.
@XVilka
@imbillow good point. Lets postpone this after implementing RzIL for Tricore: https://github.com/rizinorg/rizin/pull/3478
And since we plan to do also Tricore, MIPS, V850/V810 RzIL conversion, we will also migrate the analysis loop to use RzIL instead too: https://github.com/rizinorg/rizin/issues/2080
Missing global variable reference in Erika3 OS:
But if you check the objdump output (
erika3app.dump
):And the assembly output (
obj/Core0.c.s
):And the preprocessor output file (
obj/Core0.c.i
):Please create also new test with global and static variables for Tricore, checking
pdf
,agvx
andaxt
commands. I recommmend also checking other globals from Erika OS image.