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

AddImport gives sequence not found #273

Open
Nickert1337 opened this issue May 1, 2023 · 0 comments
Open

AddImport gives sequence not found #273

Nickert1337 opened this issue May 1, 2023 · 0 comments

Comments

@Nickert1337
Copy link

I'm trying to add a import to a existing .exe file.

var peFile = new PeFile(@"exe.exe"); peFile.AddImport("dll.dll", "foo");

It seems that the AddSection adds a weird character after the name, which makes it so the section cannot be found:
image

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