search for: off_a3a8

Displaying 3 results from an estimated 3 matches for "off_a3a8".

2018 Jun 26
2
Instruction boundaries
...aulr According to my observation. Not all the instructions are listed in the line table. For example. We have address 0xa3a0 and 0xa3a4 as the instructions .text:0000A394 CMP R1, #0x42 .text:0000A398 BHI loc_AB70 .text:0000A39C ADR R1, off_A3A8 .text:0000A3A0 LDR R0, [R1,R0,LSL#2] .text:0000A3A4 MOV PC, R0 .text:0000A3A4 ; --------------------------------------------------------------------------- .text:0000A3A8 off_A3A8 DCD loc_AB3C ; DATA XREF: main+AC↑o .text:0000A3AC...
2018 Jun 26
2
Instruction boundaries
Hi paulr Thanks for your reply. Though DWARF info give me the code address ranges, there might be inline data. If so, how to handle this case? As for the dwarf line table. Sometimes, the source line might be zero. Do you know why? If all instructions should be describe in the line table, I think analyzing Dwarf line table is enough to get all the instructions addresses. Do you agree? I would
2018 Jun 26
2
Instruction boundaries
...aulr According to my observation. Not all the instructions are listed in the line table. For example. We have address 0xa3a0 and 0xa3a4 as the instructions .text:0000A394 CMP R1, #0x42 .text:0000A398 BHI loc_AB70 .text:0000A39C ADR R1, off_A3A8 .text:0000A3A0 LDR R0, [R1,R0,LSL#2] .text:0000A3A4 MOV PC, R0 .text:0000A3A4 ; --------------------------------------------------------------------------- .text:0000A3A8 off_A3A8 DCD loc_AB3C ; DATA XREF: main+AC↑o .text:0000A3AC...