PeNet icon indicating copy to clipboard operation
PeNet copied to clipboard

AddImport gives sequence not found

Open Nickert1337 opened this issue 2 years ago • 0 comments

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

Nickert1337 avatar May 01 '23 09:05 Nickert1337