Giter Site home page Giter Site logo

Comments (5)

SeeFlowerX avatar SeeFlowerX commented on September 18, 2024

可执行程序在另一个shell正常运行即可,先通过echo $$获取到pid,然后用--no-pid排除掉即可

./stackplz -s all --pid {pid} --no-pid {pid}

from stackplz.

Ylarod avatar Ylarod commented on September 18, 2024

可执行程序在另一个shell正常运行即可,先通过echo $$获取到pid,然后用--no-pid排除掉即可

./stackplz -s all --pid {pid} --no-pid {pid}

这样追踪不到启动时的 syscall,实现的时候可以 fork -> 记录并追踪子进程PID -> 子进程exec

from stackplz.

SeeFlowerX avatar SeeFlowerX commented on September 18, 2024

那可以在执行可执行程序的时候,再套一个shell,比如/system/bin/sh ./foo

from stackplz.

SeeFlowerX avatar SeeFlowerX commented on September 18, 2024

或者不套也行,就追踪运行可执行程序的那个shell的全部syscall也是一样,也不会有多少干扰

from stackplz.

Ylarod avatar Ylarod commented on September 18, 2024
  1. shell 1
echo $$
  1. shell 2
stackplz -p pid
  1. shell 1
./foo

from stackplz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.