Skip to content

[TODO] Deduce string lengths for symbols from a map #49

Description

@rjkiv

In map_exe's apply_map_exe, I've applied known sizes to symbols for floats, doubles, vmx constants, etc. I'd like to do the same with strings - since the map provides the symbol, you can deduce the length of the string from it (basically encode_num in msvc.rs, but in reverse). Grab that, and then add an ObjSymbol with the deduced string length as the size.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions