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?– tmr232Mar 28, 2016 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.– MeowMar 28, 2016 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.– tmr232Mar 29, 2016 at 6:40
1 Answer
Yes, you can use the Debug Interface Access Software Development Kit (DIA SDK) to access the information stored in a PDB.