Thread: Function Detection

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005

    Post Function Detection

    How do make a program scan a different program to see if it uses the fuction DeleteFile() at all?

    Thanks in advance, August

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Newport, South Wales, UK
    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.

  3. #3
    Registered User
    Join Date
    Jan 2005
    scanning the import tables will catch most programs that call a function but some could be using GetProcAddress.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  2. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  3. special function detection
    By zyd in forum C Programming
    Replies: 7
    Last Post: 02-28-2006, 03:25 PM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM