当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
4 Star 9 Fork 4

suxuss / DELPHI x96dbg Plugins SDK
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bridgegraph.pas 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
妖蛋 提交于 2019-01-09 20:48 . 2019年1月9日 继续翻译代码
unit bridgegraph;
interface
uses
Winapi.Windows,_plugins_type,bridgelist;
{$I dbg.inc}
type
BridgeCFInstruction = packed record
addr:duint; //virtual address of the instruction
data:array [0..14] of Byte; //instruction bytes
end;
BridgeCFNodeList = packed record
parentGraph:duint; //function of which this node is a part
start:duint; //start of the block
ends:duint; //end of the block (inclusive)
brtrue:duint; //destination if condition is true
brfalse:duint; //destination if condition is false
icount:duint; //number of instructions in node
terminal:Boolean; //node is a RET
split:Boolean; //node is a split (brtrue points to the next node)
userdata:Pointer; //user data
exits:listinfo; //exits (including brtrue and brfalse, duint)
instrs:ListInfo; //block instructions
end;
BridgeCFGraphList = packed record
entryPoint:duint; //graph entry point
userdata:Pointer; //user data
nodes:ListInfo; //graph nodes (BridgeCFNodeList)
end;
implementation
end.
Delphi
1
https://gitee.com/suxuss/DELPHI-x96dbg-Plugins-SDK.git
git@gitee.com:suxuss/DELPHI-x96dbg-Plugins-SDK.git
suxuss
DELPHI-x96dbg-Plugins-SDK
DELPHI x96dbg Plugins SDK
master

搜索帮助