Hello everyone,
Currently I'm working on a means by which I can convert relative paths to
absolute when displayed as system call arguments. Some sample output can be
seen here[1]. Please note that the arguments passed to "execve" and "open"
are absolute paths.
(The current implementation is just a PoC and I haven't committed anything
yet, I'll post a link to the commit as soon as I push it in.)
`printpathn` takes in an argument `n` which is the maximum number of
characters that should be displayed in the path(followed by "...").
Should this scheme be followed when displaying absolute paths too?
Perhaps we could use the "..." scheme when "-yy" is used and the full path
whenever "-yyy" is used? Does that make sense/sound good?
Cheers,
-- zm
[1] https://gist.github.com/eQu1NoX/35e66c569c4a3f06cfd3
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel