Skip to content

Source Map nativelyΒ #475

@joosthoi1

Description

@joosthoi1

Problem Description

When decompiling a game, you want to be able to rename types, parameters and other members. and see that reflected in other parts of the code. Later you might want to generate a mapping of this old -> new. In my case I want this, because I am writting a bridge layer to an obfuscated dll. Being able to generate a mapping in dnspy where I can clearly see what im working with would be very nice. Currently you can only edit the real binary. This isnt that big of a deal, but then I lose the information of the old type for example.

Proposal

In the context menu there should be a way to "mark" members with a specific name. This will be stored locally and can be exported to a format(unknown what that should be?). You can also import a mapping.

I have used https://github.com/holly-hacker/dnSpy.Extension.HoLLy However this does not allow parameter renaming, which is crucial in understanding what a type does.

In my case variables don't need to be renamed, but perhaps you could add support for that aswell, though you need to know the scope in this case, which I think you might run into the same issues as with #239

Alternatives

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions