Skip to content

MIPS32 function resolution (loc._gp) #150

Open
@drzraf

Description

@drzraf

Description

There is a limitation from ghidra regarding function name resolution.

pdg
Image

(loc._gp + -0x7f5c) isn't resolved

But resolution is done in radare2:

pd
Image

and can be done manually:

e anal.gp=loc._gp
pd 1 @(loc._gp + -0x7f5c)

Image

==> sym.imp.fopen

Same code, other example, with iStack_35c = (**(pcStack_370 + -0x7f60))(0);

Image

pdg

Image

Knowing that

Image

pd 1 @(loc._gp + -0x7f60)

Image

==> sym.imp.time

Could this be somehow improved/automated by r2ghidra?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions