|
[求助]如何在运行的进程中加载新的函数以替换旧函数
大哥阿,找不到apihook 2.0 的源代码。看过一个hookapi.cpp,在xp下运行不了。。。 |
|
[求助]如何在运行的进程中加载新的函数以替换旧函数
能给点更详细的信息么,最好vc下的 |
|
|
|
[求助]如何在运行的进程中加载新的函数以替换旧函数
谢谢啊。我举例没说太清楚,我的本意是说远程加载一个全新的函数(除了函数名不变,函数体全部修改),以替换旧函数,不仅是改变一个符号。 场景和需求: 自己编写一个MFC的A进程,里面包含了一个定时一秒反复调用的函数fun: int fun() { int a,b; a=1; b=2; return a+b; } 在A程序运行期间,外部编写全新的fun(示例如下,函数名不变,函数体全部替换)通过外部进程B注入到A的进程空间,使A在收到B注入的新函数后的下一个秒周期,调用新的函数,而不中断进程。 int fun() { int cc,dd; cc=9; dd=3; return cc/dd; } 是不是可以申请一段内存,加载新函数,然后改变指令跳转地址调用新的函数? |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值