How do make a program scan a different program to see if it uses the fuction DeleteFile() at all?
Thanks in advance, August
How do make a program scan a different program to see if it uses the fuction DeleteFile() at all?
Thanks in advance, August
You'll need to read up on the Portable Executable (PE) format. This contains, amongst other things, the function import table/import address table that allows Windows to import the statically-linked external functions a program uses.
Here's the reference to download and here's an article.
scanning the import tables will catch most programs that call a function but some could be using GetProcAddress.