Skip to content

[New Plugin]: Magic Strings Namer #421

Backlog

Description

@y637F9QQ2x

Plugin Description

Names unnamed functions (sub_401000, FUN_00401000, ...) from the debug and log strings they reference: assertion messages, log prefixes, C++ qualified names and compiler-generated signatures (FUNCTION, PRETTY_FUNCTION, FUNCSIG), Objective-C and Swift names, FILE paths and bare func identifiers. Call sites are examined in MLIL so the function-name argument of assertion APIs such as __assert_fail is told apart from the expression, and in stripped binaries unnamed logging functions are recognised by how they are called. Each proposal is scored with its supporting strings, conflicts and module-tag names are resolved, and a preview report shows every rename before anything changes. Applying performs all renames as one undo step, adding a comment and tag that name the source string, and a journal allows the old names to be restored later.

Repo URL

https://github.com/y637F9QQ2x/magic-strings

Checklist

  • I have made a real release
  • I have created a valid plugin.json file

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions