Skip to content

Different behavior when opening local vs remote files. #123

Open
@sleirsgoevy

Description

@sleirsgoevy

With this file (repro.elf.gz) I see different behavior when running the decompiler locally or via RAP.

When running directly on a file, the string literal gets recognized:

$ r2 repro.elf
[0x00001000]> ss sym.main
[0x00001050]> af
[0x00001050]> pdg

ulong sym.main(void)

{
    sym.puts_plt("Hello, world!");
    return 0;
}

However, when running via RAP it is not:

$ r2 -nn repro.elf rap://:9999/ &
$ r2 rap://127.0.0.1:9999/
[0x00001000]> ss sym.main
[0x00001050]> af
[0x00001050]> pdg

ulong sym.main(void)

{
    sym.puts_plt(0x2004);
    return 0;
}

Possibly related to #52.

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