Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-05-2025, 16:54
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 399
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 67 Times in 35 Posts
jonwil Reputation: 21
How to add code to dll?

I have a Windows x86 .dll file (specifically its a mixed mode Managed C++ and Native C++ dll if that makes a difference) and I want to add some new code and data
to that dll including adding the necessary entries to the .reloc segment. What's the best way to do that?

The code and data I want to add is already in a different version of the same .dll as binary assembler instructions (obviously I would need to fix up the addresses to point to the right places in the dll I am modifying) and I don't need to touch the managed side of things.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 16:00.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )