Jump to content

Recommended Posts

Posted

This code (an old version of kernelex, written in VC++ 6.0) edits PE files.

The code adds a second .data section to dll files instead of the existing .data section.

I'd like it to edit the existing section, rather than adding a new one.

If anyone knows how to fix it would be appreciated.

https://ufile.io/6am9o

  • 4 weeks later...

Posted

If the new data won't fit in the old section, the section must be expanded which is much more difficult than adding a new section. KernelEx adds a new section because it is simpler and works just fine.

If your goal is to modify KernelEx, don't.
If your goal is finding sample code for robustly adding new data to an existing section, don't look at KernelEx, look elsewhere.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...