Skip to content

Strace visualizing tool to make syscall implementation more effective.

License

Notifications You must be signed in to change notification settings

chenzhiy2001/strace-visualizing

Repository files navigation

strace-visualizing

安装strace:sudo apt install strace

安装b3:sudo npm i -g b3-strace-parser

npm install && npm run build

trash

strace -f -o output.txt <your_script.sh>

cat output.txt | b3 > output.json

这个json格式尚不正确,需要修正:

sed -i 's/$/,/' output.json
sed -i '1s/^/[ /' output.json
echo ] >> output.json

然后我们就得到了正确的json文件。

About

Strace visualizing tool to make syscall implementation more effective.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages