Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to track created processes? #11

Open
Ou7law007 opened this issue Sep 4, 2021 · 6 comments
Open

Is there a way to track created processes? #11

Ou7law007 opened this issue Sep 4, 2021 · 6 comments
Labels
question Further information is requested

Comments

@Ou7law007
Copy link
Contributor

My sample calls CreateProcessInternalW to create a new process, is there a way track it without attaching a debugger or hooking the function?

@hasherezade
Copy link
Owner

Sorry but currently TinyTracer does not provide following children processes. However, as far as I know Pin gives such option, so I will check if I can add it.

@Ou7law007
Copy link
Contributor Author

Thank you.
I was able to run the child process on its own but it requires specific arguments. Is there a way to maybe pass arguments to tiny tracer?

@hasherezade
Copy link
Owner

I was able to run the child process on its own but it requires specific arguments. Is there a way to maybe pass arguments to tiny tracer?

Yes. You just need to add the parameter in the run_me.bat, just after the "%TARGET_APP%"

set EXE_CMD=%PIN_DIR%\pin.exe -t %PINTOOL% -m "%TRACED_MODULE%" -o %TAG_FILE% -s %SETTINGS_FILE% -b "%WATCH_BEFORE%" -- "%TARGET_APP%"

@Ou7law007
Copy link
Contributor Author

Awesome. Thank you

@hasherezade hasherezade added the question Further information is requested label Jan 19, 2022
@cecio
Copy link
Contributor

cecio commented Dec 10, 2024

hey @hasherezade , hope you are fine!

I made a small modification to add the possibility (controlled by an option in .INI file) to follow subprocesses.
If you are interested, I can open a pull request, so we can discuss the implementation and any rework you may think it's needed.
Thanks!

@hasherezade
Copy link
Owner

hi @cecio ! Sure, I am interested, let's discuss it further! Feel free to open a pull request, or a thread in https://github.com/hasherezade/tiny_tracer/discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants