Thread: Output of dumpbin export to see functions of a DLL

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    37

    Output of dumpbin export to see functions of a DLL

    Hello.


    From the console of VCE I have run dumpbin export as


    Code:
    dumpbin /export myDLL.dll

    in order to see which functions is the dll providing. I got as an output:


    Code:
    ordinal hint RVA name
    
    
    1 0 00024B0 _Function1@4
    2 1 00024E0 _Function2@0
    .....

    I think RVA means Relative Virtual Address, but can anybody tell me what does the @4 or the @0 (or @16) means?


    I have been told that
    BTW the @# notation is a c-style function naming convention where the number is the size of the parameters accepted by the function. 4 might be an integer or a pointer on a 32-bit system.

    If this is the case, I am guessing a @12 might mean three integers and @16 four integers?


    Does anyone have a pointer to a place explaining the output of dumpbin?


    Help greatly appreciated


    Kansai

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    I understood (informally) that the @n just meant the number of bytes passed as parameters, since there is no type information to provide any other clues.

    Try say
    void foo ( int a, int b );
    void bar ( double d );

    Both should be @8 AFAIK

    Also Description of the DUMPBIN utility
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Stuck with my functions and output...
    By tvred in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2010, 02:26 AM
  2. Replies: 6
    Last Post: 06-16-2009, 05:37 AM
  3. dumpbin with debug and release version
    By George2 in forum C Programming
    Replies: 5
    Last Post: 11-12-2007, 03:10 AM
  4. counting and output, with arrays and functions
    By Wraithan in forum C++ Programming
    Replies: 7
    Last Post: 12-05-2005, 12:46 AM
  5. File output and functions
    By frigga in forum C Programming
    Replies: 3
    Last Post: 11-20-2002, 07:32 PM