博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
系统调用得到函数的参数
阅读量:7058 次
发布时间:2019-06-28

本文共 791 字,大约阅读时间需要 2 分钟。

hot3.png

           调用一个系统调用 从 r3 进入 r0 需要把 r3 堆栈上面的参数复制到 r0 的堆栈上但是怎么得到这个函数的参数呢  ? 今天在看了下 SSDT 的结构  原来还有一个参数 ParamTableBase 用来保存系统调用 的参数个数
typedef struct ServiceDescriptorTable {	PVOID ServiceTableBase;	PVOID ServiceCounterTable(0);	unsigned int NumberOfServices;	PVOID ParamTableBase;}
where
ServiceTableBase Base address of the System Service Dispatch Table.
NumberOfServices Number of services described by ServiceTableBase.
ServiceCounterTable This field is used only in checked builds of the operating system and contains the counter of how many times each service in SSDT is called. This counter is updated by INT 2Eh handler (KiSystemService).
ParamTableBase Base address of the table containing the number of parameter bytes for each of the system services.

转载于:https://my.oschina.net/sincoder/blog/130878

你可能感兴趣的文章
Android全局代理软件ProxyDroid和TransProxy源码分享
查看>>
C# WinForm开发系列 - ADO.NET
查看>>
SQL Server误区30日谈-Day23-有关锁升级的误区
查看>>
人人都是 DBA(XV)锁信息收集脚本汇编
查看>>
将不确定变为确定~MVC3的ValidateInput属性失灵了
查看>>
[LeetCode] Paint House II 粉刷房子之二
查看>>
[LeetCode] Number Complement 补数
查看>>
设计一个有getMin功能的栈
查看>>
[LintCode] Maximum Gap 求最大间距
查看>>
RegeX的早期版本
查看>>
Redis 小白指南(二)- 聊聊五大类型:字符串、散列、列表、集合和有序集合...
查看>>
零元学Expression Blend 4 - Chapter 23 Deep Zoom Composer与Deep Zoom功能
查看>>
C#~异步编程再续~async异步方法与同步方法的并行
查看>>
Windows下的字体美化
查看>>
13.9. Health Status
查看>>
Unable to execute dex: Multiple dex files define Lcom/kenai/jbosh/AbstractAttr
查看>>
微信小程序明星开发者博卡君专访
查看>>
什么是 Help Desk?
查看>>
【MySQL】Tokudb安装测试初探
查看>>
12C打补丁的简单尝试
查看>>