[IDA] Updating function names/offsets in b/t versions? menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [IDA] Updating function names/offsets in b/t versions?

    Forgive me if this has been posted already, I have actually searched + seen random comments on doing things like patch2diff and doing a bit of random changes.

    But is there a systematic method to updating your IDB for the next update? I significantly commented/renamed in my mac 3.3.0a version and would hate to have to go back and do this manually.

    How do you all keep your IDB files up to date w/patches?

    Thanks in advance!
    https://tanaris4.com

    [IDA] Updating function names/offsets in b/t versions?
  2. #2
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hadn't searched teh googleszzz - assuming you're all using:

    PatchDiff 2

    Is there an easy way to have it rename your functions? (that it finds as matched/identical?) Or would that require me to write my own IDA Plugin
    Last edited by Tanaris4; 02-02-2010 at 12:36 PM.
    https://tanaris4.com

  3. #3
    barthen's Avatar Contributor Authenticator enabled
    Reputation
    94
    Join Date
    Apr 2007
    Posts
    112
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use binarydiffer , it allows you to copy the matches and you can paste them to a text file.

  4. #4
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can copy PatchDiff2 output just fine, than parse it and import to new IDB with IDC script.

  5. #5
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is said script posted anywhere? Haven't done any IDA scripting so was just curious. I could imagine how it works easily enough. Replace all functions that don't start in sub_, or something similar.
    https://tanaris4.com

  6. #6
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    Is said script posted anywhere? Haven't done any IDA scripting so was just curious. I could imagine how it works easily enough. Replace all functions that don't start in sub_, or something similar.
    http://www.mmowned.com/forums/wow-me...ml#post1754263

  7. #7
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So what's the process, then? Sorry to re-zombifiy this thread, but I've been needing to improve my patch day process for a while. I'm running on an emulator at the moment, so I haven't had to deal with 3.3.2 yet, but I'd really like patch day to stop being such a monumental pain of hand-reversing code.

    So... build your IDB, then run patchdiff2 on the new patch then... run Apoc's IDC against patchdiff2 output?
    Don't believe everything you think.

  8. #8
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @amad - the only issue I ran into w/patchdiff2 is it won't rename any dwords you renamed. I believe the linked thread above WILL handle this, but i have NOT tried it yet.
    https://tanaris4.com

  9. #9
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    So what's the process, then? Sorry to re-zombifiy this thread, but I've been needing to improve my patch day process for a while. I'm running on an emulator at the moment, so I haven't had to deal with 3.3.2 yet, but I'd really like patch day to stop being such a monumental pain of hand-reversing code.

    So... build your IDB, then run patchdiff2 on the new patch then... run Apoc's IDC against patchdiff2 output?
    1# Run patchdiff, copy the output to a textfile
    2# Use my tool to trim the output, http://dl.dropbox.com/u/4381027/PD2Trimmer.rar
    3# use this IDC script written by barthen to rename functions, http://dl.dropbox.com/u/4381027/Function%20Naming.idc
    4# Profit!?




  10. #10
    barthen's Avatar Contributor Authenticator enabled
    Reputation
    94
    Join Date
    Apr 2007
    Posts
    112
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    3# use this IDC script written by barthen to rename functions, http://dl.dropbox.com/u/4381027/Function%20Naming.idc

    ostapus wrote it, not me

  11. #11
    Randomizer's Avatar Contributor
    Reputation
    120
    Join Date
    Jun 2008
    Posts
    188
    Thanks G/R
    6/0
    Trade Feedback
    1 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    1# Run patchdiff, copy the output to a textfile
    2# Use my tool to trim the output, http://dl.dropbox.com/u/4381027/PD2Trimmer.rar
    3# use this IDC script written by barthen to rename functions, http://dl.dropbox.com/u/4381027/Function%20Naming.idc
    4# Profit!?



    Thank you for this info +rep.

  12. #12
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    You can copy PatchDiff2 output just fine, than parse it and import to new IDB with IDC script.
    I hate to ask this question, but how do you copy the output? It have 3 tabs that appear, but I don't know how to copy/export this data out of IDA

    Thanks!
    https://tanaris4.com

  13. #13
    zzgw's Avatar Member
    Reputation
    6
    Join Date
    Mar 2008
    Posts
    31
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right click, Copy.

  14. #14
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Scroll way to the right; right click the white area -> copy.

    Wait for IDA to be responsive again, and you're done. (Idk why, but IDA takes forever to put stuff in your clipboard.)

  15. #15
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Apoc - thanks, I wasn't able to right click for all rows and was thinking it was b/c i'm on a VM

    How do you keep all the variable names you renamed up to date in b/t versions? Are you using the 4-step method that Nexos referred to? I'm starting to rename dwords + variables a lot and I'm terrified for the next patch
    https://tanaris4.com

Page 1 of 2 12 LastLast

Similar Threads

  1. [Python/IDA] PyIDAWow (function renaming)
    By Xartrick in forum WoW Memory Editing
    Replies: 2
    Last Post: 07-24-2013, 12:25 PM
  2. How to import my own dll function names into IDA
    By demonguy in forum WoW Memory Editing
    Replies: 13
    Last Post: 03-25-2013, 01:52 PM
  3. How to get function names from IDA?
    By demonguy in forum WoW Memory Editing
    Replies: 18
    Last Post: 05-10-2012, 10:45 AM
  4. Looking for Item name offset
    By wuangle in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 01-12-2011, 05:20 AM
  5. Dumping the function names from the WoW executable?
    By Tanaris4 in forum WoW Memory Editing
    Replies: 3
    Last Post: 08-08-2009, 10:51 AM
All times are GMT -5. The time now is 03:56 PM. 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