You are not logged in.

#1 2011-05-08 08:05:06

awayand
Member
Registered: 2009-09-25
Posts: 398

Detective support: how is an external program called? (ex: truecrypt)

Hello there,
some of you may know, that if you double-click a mounted container within truecrypt, and have no nautilus installed, that you get an error message saying that nautilus isn't there.

Browsing through the forums, I found someone who mentioned the exact command that truecrypt was using and consequently a workaround. The command was:

/usr/bin/nautilus --no-default-window --no-desktop /media/truecrypt1

and can be found here: https://bbs.archlinux.org/viewtopic.php?id=103882

My question is, how can I find out how a program is calling another program, as in this example, how could I have found out what is going on under the hood of truecrypt, and what command truecrypt is exactly running for that nautilus error message to pop up?

Is there a program that can be chained to truecrypt, kind of like "time" as in:

$ time man

to monitor for such calls or would you do it different?

Thanks!

Offline

#2 2011-05-08 13:30:22

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Detective support: how is an external program called? (ex: truecrypt)

strace + gdb might be a start

edit: not necessarily gdb, you'd want to walk through the binary and find the appropriate strings, so strings

Last edited by fsckd (2011-05-08 13:34:52)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB