Ai
4 Star 9 Fork 4

suxuss/DELPHI x96dbg Plugins SDK
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
_scriptapi_stack.pas 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
妖蛋 提交于 2019-01-11 16:35 +08:00 . 2019年1月11日 修正导入dll名称
{
Ported form _scriptapi_stack.h x64 and x32 to Unit Delphi by Lonely
FixCode:https://gitee.com/suxuss/DELPHI-x96dbg-Plugins-SDK
}
unit _scriptapi_stack;
interface
uses
Winapi.Windows,_plugins_type,_plugins,bridgemain,bridgelist;
{$I dbg.inc}
{$ifdef win64}
{SCRIPT_EXPORT duint} function Pop():duint;cdecl; external x32DBG name '?Pop@Stack@Script@@YA_KXZ';
{SCRIPT_EXPORT duint} function Push(value:duint):duint;cdecl; external x32DBG name '?Push@Stack@Script@@YA_K_K@Z'; //returns the previous top, equal to Peek(1)
{SCRIPT_EXPORT duint} function Peek(offset:Integer = 0):duint;cdecl; external x32DBG name '?Peek@Stack@Script@@YA_KH@Z'; //offset is in multiples of Register::Size(), for easy x32/x64 portability
{$else}
{SCRIPT_EXPORT duint} function Pop():duint;cdecl; external x32DBG name '?Pop@Stack@Script@@YAKXZ';
{SCRIPT_EXPORT duint} function Push(value:duint):duint;cdecl; external x32DBG name '?Push@Stack@Script@@YAKK@Z'; //returns the previous top, equal to Peek(1)
{SCRIPT_EXPORT duint} function Peek(offset:Integer = 0):duint;cdecl; external x32DBG name '?Peek@Stack@Script@@YAKH@Z'; //offset is in multiples of Register::Size(), for easy x32/x64 portability
{$endif}
implementation
end.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
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

搜索帮助