Comments (5)
可执行程序在另一个shell正常运行即可,先通过echo $$
获取到pid,然后用--no-pid
排除掉即可
./stackplz -s all --pid {pid} --no-pid {pid}
from stackplz.
可执行程序在另一个shell正常运行即可,先通过
echo $$
获取到pid,然后用--no-pid
排除掉即可./stackplz -s all --pid {pid} --no-pid {pid}
这样追踪不到启动时的 syscall,实现的时候可以 fork -> 记录并追踪子进程PID -> 子进程exec
from stackplz.
那可以在执行可执行程序的时候,再套一个shell,比如/system/bin/sh ./foo
from stackplz.
或者不套也行,就追踪运行可执行程序的那个shell的全部syscall也是一样,也不会有多少干扰
from stackplz.
- shell 1
echo $$
- shell 2
stackplz -p pid
- shell 1
./foo
from stackplz.
Related Issues (20)
- [feature request] 事件信息输出json
- [feature request] 尝试对绝对地址下uprobe HOT 1
- 能否追踪内核任意函数? HOT 2
- Is it possible to compile for x86_64 ABI? HOT 1
- [feature request] 改进flags信息输出形式 HOT 1
- [feature request] rpc注册硬件断点 HOT 1
- 想了解下这个模块怎么实现的硬件断点? HOT 2
- [FR] 快速发送SIGCONT HOT 1
- [FR] 回溯堆栈时打印原始PC值 HOT 3
- 32位的uprobe hook不能支持吗?目前还是有很多只使用arm32架构的 HOT 1
- 这边实现对libc strstr函数的hook是怎么做到的呀? HOT 1
- redroid13找不到/proc/config.gz HOT 2
- dev 版 `--stack`及 `--point strstr[str,str]` 无法取得 HOT 2
- Is replace filter deprecated? HOT 1
- mac m1 ubuntu redroid下,pid和tid一直为0 HOT 2
- 报错 HOT 8
- 小建议 HOT 1
- --stack堆栈回溯出现Segmentation fault HOT 7
- 硬件断点 读取操作 无效 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackplz.