-
-
[求助]DynamoRIO 遇到子进程的时候,会跟进去吗?
-
发表于: 2019-8-19 17:17 2449
-
最近想写个工具,但是遇到多进程的就有问题。
看了以下 文档,发现没有关于子进程的介绍或者API, 是不是DynamoRIO 不会进入子进程?
-----------------------------------------------------------
不对,好像是会进入子进程:
hello world!
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is exit !
[0819/165818:INFO:exception_record.cc(518)] [QB]Process ID: 2396 Ty
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
hello world!
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is exit !
hello world!
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is exit !
dddddd! a thread is exit !
game over! Bye Bye ^_^!
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is initing !
dddddd! a thread is exit !
dddddd! a thread is exit !
...
以上, “hello world” 是 client_main 里的打印,所以是创建新进程的打印。
game over! Bye Bye ^_^! 则是进程退出时的打印。
这么看来是支持多进程的,那么问题来了:
DynamoRIO 是驻留在目标进程的地址空间里的,DynamoRIO 客户端里的 全局变量 应当是 进程间独立的。
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!
最后于 2019-8-19 17:26
被Flyour编辑
,原因:
赞赏
他的文章
看原图
赞赏
雪币:
留言: