#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    How to find the functions implemented by a DLL


    Hello everybody.

    I would like to know a way to see the functions that are provided by a DLL by just analyzing the DLL file. Does anybody know how to do this? (Background of the problem at the end)

    So far I have tried
    Code:
     
    dumpbin /export myDLL.dll
    from the VCC console and it gives me something like:

    Code:
     
    ordinal hint RVA name
    
    1 0 00024B0 _Function1@4
    2 1 00024E0 _Function2@0
    .....
    So I can see that Function1 and Function2 are implemented by the myDLL.dll file. I dont know what @4 or @0 means but maybe number of parameters? I would like to know the type of parameters and the type of return value as well.

    Any help will be greatly appreciated

    Kansai


    --
    Background: I have inherited a system in my company (a physical system that is) which is controlled by a program but the sources got lost (I know, disorganized company but what can I do?). and have been ordered to use this and write a program to control it. Analyzing what I have I found some dlls that seem to control the physical parts of the system (motors , etc) so there is a problem of finding out how to use these dlls without any prior documentation
  2. #2
  3. 'fie' on me, allege-dly
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2003
    Location
    in da kitchen ...
    Posts
    12,889
    Rep Power
    6444
    you tried Dependency Walker ?
    --Ax
    without exception, there is no rule ...
    Handmade Irish Jewellery
    Targeted Advertising Cookie Optout (TACO) extension for Firefox
    The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones


    09 F9 11 02
    9D 74 E3 5B
    D8 41 56 C5
    63 56 88 C0
    Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
    -- Jamie Zawinski
    Detavil - the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ...
    BIT COINS ANYONE

IMN logo majestic logo threadwatch logo seochat tools logo