ghidra_amiga_ldr icon indicating copy to clipboard operation
ghidra_amiga_ldr copied to clipboard

SymbolHunk handling questions

Open MastaTabs opened this issue 5 years ago • 6 comments
trafficstars

I can see there is some SymbolHunk handling code in the HunkSegment.

But how is this stuff called ? I'm a bit at a loss here.

MastaTabs avatar May 29 '20 10:05 MastaTabs

I used Amitools for this project. So it's just their logic.

lab313ru avatar May 29 '20 11:05 lab313ru

Ok, so chances are high this code isn't called at all ?

MastaTabs avatar May 29 '20 12:05 MastaTabs

Could you point me into an exact line of code?

lab313ru avatar May 29 '20 13:05 lab313ru

https://github.com/lab313ru/ghidra_amiga_ldr/blob/55e60b9d5d8d929e7c86cf260972d33ae768e4ec/src/main/java/hunk/HunkSegment.java#L72

MastaTabs avatar May 29 '20 13:05 MastaTabs

As I remember, this branch may be called sometimes. Don't have any exact binary to show you.

lab313ru avatar May 29 '20 13:05 lab313ru

ok, will try with the debugger and single step thorugh.

MastaTabs avatar May 29 '20 13:05 MastaTabs