-
大小: 57.34MB文件类型: .zip金币: 2下载: 1 次发布日期: 2023-02-19
- 语言: 其他
- 标签: Hopper Disassembler
资源简介
代码片段和文件信息
“““Here are all the public classes and methods that you can use to script Hopper using Python.“““
“““
“““
“““Before using the scripting capabilities of Hopper you need to understand the nature of a Hopper document.“““
“““The basic concept is that it is a document constructed from Segments each containing Sections of typed bytes.“““
“““Let‘s consider a standard Mach-O file. It contains at least one segment of code (usually named TEXT)“““
“““containing many bytes. Hopper attaches information to each bytes of each segments. At load time all“““
“““bytes are set to the type TYPE_UNDEFINED. Then starting from the entry point as Hopper follows the program flow it will set“““
“““instructions to the type TYPE_CODE; if an instruction needs more than one byte the following are set to TYPE_NEXT.“““
“““
“““
“““Using Python you‘ll can manipulate the segments of disassembled files retrieve information on bytes types read or write data“““
“““create or modify label names etc...“““
“““You‘ll usually start by retrieving the current document using the static method Document.getCurrentDocument().
“““
“““
“““
“““
“““
import HopperLowLevel
import struct
class HopperStdRedirection: # NO_DOC
def __init__(selftag):
self.tag = tag
self.line_buffer = ““
def __del__(self):
if (len(self.line_buffer)):
HopperLowLevel.outputString(self.tag self.line_buffer)
self.line_buffer = ““
def flushLines(self):
idx = self.line_buffer.find(‘\n‘)
while idx != -1:
flushed = self.line_buffer[:idx]
self.line_buffer = self.line_buffer[idx+1:]
HopperLowLevel.outputString(self.tagflushed)
idx = self.line_buffer.find(‘\n‘)
def flush(self):
self.flushLines()
def write(selfstr):
self.line_buffer += str
self.flushLines()
class Tag:
“““A Tag that could be applied to a specific address a BasicBlock or a Procedure.“““
“““Tags are built using the document.“““
def __init__(selftag_internal):
self.__tag_internal__ = tag_internal
def __eq__(selfother):
return other.__class__ == self.__class__ and self.__tag_internal__ == other.__tag_internal__
def __ne__(selfother):
return other.__class__ != self.__class__ or self.__tag_internal__ != other.__tag_internal__
def getName(self):
“““Returns a string with the tag name.“““
return HopperLowLevel.getTagName(self.__tag_internal__)
class Procedure:
“““This class represents a procedure which is a collection of BasicBlocks.“““
“““Please note that modifying the document (creating new procedure or deleting an existing one) will result in a possible“““
“““inconsistancy of the Python‘s Procedure object representation.“““
def __init__(selfsegment_internalprocedure_index):
self.__segment_internal__ = segment_internal
self.__procedure_index__
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-06-01 19:24 CrackedHopper\
目录 0 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\
目录 0 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\
目录 0 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\_CodeSignature\
文件 61325 2016-11-29 14:20 CrackedHopper\Hopper Disassembler v4.app\Contents\_CodeSignature\CodeResources
目录 0 2017-06-01 19:24 __MACOSX\
目录 0 2017-06-01 19:24 __MACOSX\CrackedHopper\
目录 0 2017-06-01 19:24 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\
目录 0 2017-06-01 19:24 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\
目录 0 2017-06-01 19:24 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\_CodeSignature\
文件 217 2016-11-29 14:20 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\_CodeSignature\._CodeResources
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\.__CodeSignature
目录 0 2016-11-29 14:20 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 8154960 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
目录 0 2017-06-01 19:24 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 106544 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 5297376 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 102896 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 156496 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 35824 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 67488 2016-11-29 14:19 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:19 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 347808 2016-11-29 14:20 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 217 2016-11-29 14:20 __MACOSX\CrackedHopper\Hopper Disassembler v4.app\Contents\fr
文件 1953808 2016-11-29 14:20 CrackedHopper\Hopper Disassembler v4.app\Contents\fr
............此处省略967个文件信息
相关资源
- 飘云阁 hopper v4 patcher
- Grasshopper汉化包
- panda2019最新版本grasshopper插件GH插件
- Hopper Mac 破解包
- Hopper Disassembler v2.8.1 For Windows Crack
- 吐血整理!grasshopper及其插件.rar
- 3-Grasshopper完全学习手册V1.0.pdf
- Hopper Disassembler v4 For Mac 破解版本
- Hopper Disassembler v4 4.0.8 for mac 原版 含破
- Lunch Box_121014
- chopper.exe
- hopperDisassembler V4
- Reflector.FileDisassembler.zip
- Grasshopper for Rhino5简体中文汉化版
- GH 插件合集及安装说明2019最新集合版
- grasshopper插件elk
- Lunchbox for grasshopper
评论
共有 条评论