Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2004, 08:44
skyper
 
Posts: n/a
found

for those who want it, here it is...

// This IDC script will alter the names of imported functions to include the

// repeatable comments for that function, such that the name KERNEL_91 in IDA

// becomes KERNEL_91_INITTASK . Run from the Extern segment.

// extrn_name.idc

// code by mammon_ rev 1.27

#include <idc.idc>



static main(){

auto ea, old_name, old_cmt;

ea = SegStart( ScreenEA() );

while ( ea != BADADDR ) {

old_name = Name( ea );

old_cmt = RptCmt( ea );

MakeName( ea, old_name + "_" + substr(old_cmt, 0, (strlen(old_cmt)-1) ) );

ea = NextAddr(ea);

}

Message("Done fixing imported function names.\n");

}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
two questions for admin TomaHawk General Discussion 8 04-01-2014 00:51
PE Loader Questions dila General Discussion 13 12-20-2011 12:03
Humor and a few questions. Innocent General Discussion 6 08-10-2004 02:51
questions about code bartster General Discussion 19 02-14-2004 01:31


All times are GMT +8. The time now is 13:43.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )