S
S
serega65312015-03-24 13:05:10
linux
serega6531, 2015-03-24 13:05:10

How to know if a process is under debug or ptrace?

It would be nice to also get a list of loaded libraries.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
polozad, 2015-03-24
@polozad

List via lsof and filters. When debugging, the process becomes a child of the debug itself, the only way to get access to resources and signals. So through ps, probably.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question