2

My customer has an application that gets updates frequently. I have a program that adds functionality into this application by means of patching and reassembling the target binary. It is a hassle to keep up with the updates in the target application, and since I have its PDB file, is there any way to use this file to perform the patching on the client's end?

  • A PDB will make it easier to find functions, but you will still need to patch the code just the same. In any case, if it's the customer's application, is it not possible to add the functionality in a more structured manner? – tmr232 Mar 28 '16 at 10:02
  • Yes, I found out I can do what I want with DLL wrapping, but still I think it's an interesting question for certain scenarios, for example if my target binary used signed DLLs, I would need to modify the binary itself. – Meow Mar 28 '16 at 22:43
  • In the case of signed DLLs, you might still be able to get away with IAT hooking. Still a lot simpler then binary patching. – tmr232 Mar 29 '16 at 6:40
2

Yes, you can use the Debug Interface Access Software Development Kit (DIA SDK) to access the information stored in a PDB.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.