Displaying 3 results from an estimated 3 matches for "0000a3a0".
Did you mean:
  0000a3a4
  
2018 Jun 26
2
Instruction boundaries
...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                 DCD loc_A...
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
...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                 DCD loc_A...