Closed EljakimHerrewijnen closed 10 months ago
Can you give me the opcode of the ldr x0, 0xffff0024
instruction?
nvm I got it. I think you're right we did not implemented LDR literal.
Opcode should be: 0x58000000.
Yes, I think so. I tried to implement it but got stuck.
The LDR instruction behaves differently in Triton than in Unicorn. When loading a value from a memory address ,using the LDR instruction, Triton loads the address in the operand instead of the data in the target address.
Triton implements the following LDR instructions in the source code:
I think we are missing the load of a value at an address:
I created example code that runs in Unicorn but crashes in Triton. Is this expected behaviour?
Or am I missing something obvious? :)