Skip to content

Rank matches when searching for symbols. #12

@ExPixel

Description

@ExPixel

At the moment the first symbol that is matched is returned, but this can cause problems because of situations like this:

[address: 0x2CA6C0] [size: 310 bytes] cargo_asm::main::he7e4b90525b343c2
[address: 0x493590] [size: 247 bytes] core::num::dec2flt::algorithm::round_by_remainder::hf61317af6f74374c
[address: 0x2CC800] [size:  47 bytes] main

Here using cargo asm disasm main would return cargo_asm::main::he7e4b90525b343c2 despite main being a better match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions