본문 바로가기
debug/0x05-ida

ida ][ 함수 이름과 주소 출력해보기

by SpeeDr00t 2019. 9. 4.
반응형

ida ][ 함수 이름과 주소 출력해보기

■ 사용법

#
# write by kyoung chip ,jang
# python 2.7
# ida 7.2
#
from idautils import *
from idaapi import *
from idc import *
ea =BeginEA()
for funcAddr in Functions( SegStart(ea) , SegEnd( ea ) ) :
funcName = GetFunctionName(funcAddr)
if funcName.find("main") > 0 or funcName.find("Main") > 0 or funcName.find("Start") > 0 or funcName.find("start") :
print "Function %s is at 0x%x" % ( funcName, funcAddr )
view raw ida_script1.py hosted with ❤ by GitHub

file>script file 선택
func.py 선택
함수이름과 주소 출력 화면

youtu.be/DOLvi1PmBpA

 

반응형

'debug > 0x05-ida' 카테고리의 다른 글

ida ][ 함수 이름과 주소 출력해보기2  (0) 2019.09.04