본문 바로가기

*집필*/*집필* Python

Imm 유용 Func 정리(ing)

#immlib 모듈 초기화

import immlib # immlib 모듈 등록

imm = immlib.Debugger() # return class debugger data (immlib.Debugger Class 객체 생성)

#이동

imm.gotoDisasmWindow(self,adds) # set Window area (디스어셈블 윈도우 탐색 위치 설정)

# OPCODE Binary and Size

opcode = imm.disasm( Addr ) # return class opcode data (libanalyze.opCode Class 객체 생성)

opcode.dump # return OPCODE Binary Code (OPCODE 바이너리 출력)

opcode.getSize() # return OPCODE Size (OPCODE 크기 출력)

opcode.getResult() # return OPCODE ASM Code (역어셈블리어 출력)

#특정 메모리 주소 BaseAddress

pageOJ = imm.getMemoryPageByAddress( [ADDRESS] )

pageOJ.getBaseAddress()