How to import my own dll function names into IDA menu

Shout-Out

User Tag List

Results 1 to 14 of 14
  1. #1
    demonguy's Avatar Member
    Reputation
    2
    Join Date
    Feb 2012
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to import my own dll function names into IDA

    i want TO debug WOW in which my dll is injected by using IDA. Then how can i import my functions' names?

    How to import my own dll function names into IDA
  2. #2
    ~Unknown~'s Avatar Contributor
    Reputation
    193
    Join Date
    Jan 2009
    Posts
    211
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know how to import function names, but is there some reason you just don't use Debugger.Launch Method (System.Diagnostics) ?

  3. #3
    demonguy's Avatar Member
    Reputation
    2
    Join Date
    Feb 2012
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm using C++ so .NET won't work

  4. #4
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I really dont get what you want to do? You want to debug your dll? If so use VS, it can debug your work even if its injected into wow. If you want to look at your dll with IDA just compile it as debug and the names should kick around. But other than that, I have no idea what you are trying to do lols....

  5. #5
    demonguy's Avatar Member
    Reputation
    2
    Join Date
    Feb 2012
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    I really dont get what you want to do? You want to debug your dll? If so use VS, it can debug your work even if its injected into wow. If you want to look at your dll with IDA just compile it as debug and the names should kick around. But other than that, I have no idea what you are trying to do lols....
    Thanks, that's what i want. i just don't know compiling as debug , IDA will show their names automatically
    But How can i debug dll with VS? Can VS inject DLL into WOW? or something else? Directly press F5 just show a msgbox "Can't run XXXXX.dll"

  6. #6
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by demonguy View Post
    Thanks, that's what i want. i just don't know compiling as debug , IDA will show their names automatically
    But How can i debug dll with VS? Can VS inject DLL into WOW? or something else? Directly press F5 just show a msgbox "Can't run XXXXX.dll"
    Inject your dll and debug the wow-process you've injected.

  7. #7
    demonguy's Avatar Member
    Reputation
    2
    Join Date
    Feb 2012
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Frosttall View Post
    Inject your dll and debug the wow-process you've injected.
    That's what I have done with Ida. But it's difficult to debug without function name in DLL

  8. #8
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by demonguy View Post
    That's what I have done with Ida. But it's difficult to debug without function name in DLL
    Build the dll in debug mode and attach your visual studio debugger...

  9. #9
    mansemino's Avatar Sergeant
    Reputation
    9
    Join Date
    Dec 2012
    Posts
    32
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmm.. And what about compiling with LIB & MAP outputs, and use IDA tools to make a SIG file to parse names? (you know... getting a Flirt file with the FLAIR tools)...

    Look for "how to make IDA signature files" on Google (I'm not allowed to post links.. first post )

  10. #10
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mansemino View Post
    hmmm.. And what about compiling with LIB & MAP outputs, and use IDA tools to make a SIG file to parse names? (you know... getting a Flirt file with the FLAIR tools)...

    Look for "how to make IDA signature files" on Google (I'm not allowed to post links.. first post )
    Why would you do that if you already have a pdb file for the dll?

    Like others have said already multiple times, change your project settings to compile with debug info:
    c++ -> general -> debug information format: program database
    linker -> debugging -> generate debug info: yes

    and then attach VS to wow (debug menu, attach to process) and inject your dll.

    And I would also recommend disabling optimizations or you will likely get incorrect results when trying to inspect variables.

  11. #11
    mansemino's Avatar Sergeant
    Reputation
    9
    Join Date
    Dec 2012
    Posts
    32
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by _Mike View Post
    Why would you do that if you already have a pdb file for the dll?
    As I understand, he wants to debug WoW with IDA (not the DLL). So, I think it is a solution as valid as any other.

  12. #12
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    You cant really debug WoW with IDA. IDA is more of a decompiler. CE, Ollydbg and VS are debuggers.

  13. #13
    DrakeFish's Avatar Lazy Leecher

    Reputation
    634
    Join Date
    Nov 2008
    Posts
    569
    Thanks G/R
    0/14
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    You cant really debug WoW with IDA. IDA is more of a decompiler. CE, Ollydbg and VS are debuggers.
    IDA has an integrated debugger which I haven't used a lot but I suppose it could become useful if you want to map structures on runtime instead of doing them manually (or whatever else feature this could be good for), but I suppose other debuggers probably offer more feature.

  14. #14
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mansemino View Post
    As I understand, he wants to debug WoW with IDA (not the DLL). So, I think it is a solution as valid as any other.
    He wants symbol names for his dll. The pdb has that, and a lot more detailed info than you can get with flirt signatures.
    Signature files are useful for detecting functions in binaries you don't have debug info for, but if you do have it then pdbs are superior in every way.

Similar Threads

  1. How to get function names from IDA?
    By demonguy in forum WoW Memory Editing
    Replies: 18
    Last Post: 05-10-2012, 10:45 AM
  2. [Guide] How to compile your own DLL
    By Cursed in forum WoW EMU Guides & Tutorials
    Replies: 58
    Last Post: 06-19-2008, 09:38 AM
  3. Replies: 22
    Last Post: 05-29-2008, 03:52 PM
  4. How'd you come up with your name?
    By idusy-org in forum Community Chat
    Replies: 233
    Last Post: 08-18-2007, 12:31 PM
  5. [Easy] How to Make Your Own WoW Forum Avatar!
    By Roflcopterzzz in forum Art & Graphic Design
    Replies: 21
    Last Post: 05-28-2007, 10:09 AM
All times are GMT -5. The time now is 07:57 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search