Skip to content

Ability to copy & paste instructions from dnSpy #5

@SilveIT

Description

@SilveIT

Would be awesome to have a parser for a list of instructions copied from dnSpy.
Current version of your patcher is great for patching small segments of code, but it really sucks when you have >50 instructions and you have to recreate them in the patcher. Would be better to have a "From clipboard" button inside the script editor.
Copy as text in dnSpy returns a string like this:

8	001D	stloc.0
9	001E	ldloca.s	V_0 (0)
10	0020	constrained.	[mscorlib]System.Guid
11	0026	callvirt	instance string [mscorlib]System.Object::ToString()

We have both indices and instructions. The only problem is to create a better type resolver or just remove stuff like "instance", "class" and replace types like "string" with "System.String" temporarly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions