Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembly duplication after patching memory loaded assembly #72

Open
deltaone opened this issue Apr 1, 2023 · 0 comments
Open

Assembly duplication after patching memory loaded assembly #72

deltaone opened this issue Apr 1, 2023 · 0 comments

Comments

@deltaone
Copy link

deltaone commented Apr 1, 2023

Assembly game = Assembly.Load(File.ReadAllBytes(Path.Combine(AssemblyFolder, "target.exe")));
-> get two target assembly assembly (one patched, one not)

Assembly game = Assembly.LoadFile(Path.Combine(AssemblyFolder, "target.exe"));
-> all ok, have one patched assembly

How avoid this, i use runtime prepatch with Cecil and loading modified assembly from memory ...

double.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant