My DLL leaks memory



I have a DLL that leaks memory, this DLL is critical to my companies
application.
The DLL is from a 3rd party vendor, and they are out of buisness, so
there is no way to get the source.

My thought was to disassemble the DLL and add a few lines of assembly
to fix the problem.
But if I insert a line then all of the function calls will go to the
wrong addresses. So I was hoping for a disassembler that would take
care of this for me.

I was wondering if someone could recommend a tool to do this.
I dont want to spend too much time on it, but I thought I would at
least give it a try.

So a recomendation for a good disassembler would be great.
And any recomendations for other tools that would help with
reassembling or finding the leak would be much appreciated.

.



Relevant Pages

  • Turning a EXE into a DLL
    ... that leaks memory and I am trying to eliminate or greatly reduce this ... Now I need to convert it to a DLL ... this is that the EXE has a dialog screen open with a bunch of buttons ... I need to pass some parameters from the VB6 ...
    (microsoft.public.vc.mfc)
  • Turning a EXE into a DLL
    ... that leaks memory and I am trying to eliminate or greatly reduce this ... Now I need to convert it to a DLL ... this is that the EXE has a dialog screen open with a bunch of buttons ... I need to pass some parameters from the VB6 ...
    (microsoft.public.vc.mfc)
  • Re: Turning a EXE into a DLL
    ... The VB.NET application is using a control ... that leaks memory and I am trying to eliminate or greatly reduce this ... Now I need to convert it to a DLL ... I need to pass some parameters from the VB6 ...
    (microsoft.public.vc.mfc)
  • Re: My DLL leaks memory
    ... > I have a DLL that leaks memory, this DLL is critical to my companies ... > The DLL is from a 3rd party vendor, and they are out of buisness, so ... Betov. ...
    (alt.lang.asm)
  • Re: Need Binary code edit tool
    ... > It should be easy to do if the dll uses the MessageBox API. ... > disassembler output to make sure that you really have found the correct ... but also the 4 PUSH instructions. ...
    (borland.public.delphi.thirdpartytools.general)