All of lore.kernel.org
 help / color / mirror / Atom feed
* Is stack back trace possible if compiled with -fomit-frame-pointer?
@ 2005-09-21 14:37 Xin Zhao
  2005-09-21 14:55 ` Stefan Smietanowski
  2005-09-21 15:25 ` Alistair John Strachan
  0 siblings, 2 replies; 4+ messages in thread
From: Xin Zhao @ 2005-09-21 14:37 UTC (permalink / raw)
  To: linux-kernel

Also, I might want to know whether it is common case that linux apps
are compiled with  -fomit-frame-pointer swtich?

Thanks!
Xin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is stack back trace possible if compiled with -fomit-frame-pointer?
  2005-09-21 14:55 ` Stefan Smietanowski
@ 2005-09-21 14:50   ` Xin Zhao
  0 siblings, 0 replies; 4+ messages in thread
From: Xin Zhao @ 2005-09-21 14:50 UTC (permalink / raw)
  To: Stefan Smietanowski; +Cc: linux-kernel

Thanks for your reply.

But I am looking for a tool or method to do stack backtrace
automatically, not debug manually.

The tool listed on http://www.aivosto.com/visustin.html can only
generate control flow from source code. But I need a control flow
generator that can generate control flow from binary codes. One
example is EEL (Executable Edit Library). But it only works for SPARC
machine, not PC. :(

As for the question about the kernel development list, I am developing
a kernel module that supports stack backtrace and can analyze user app
binaries to enforce security policies. So this is still related to
Kernel development. :)

Xin

On 9/21/05, Stefan Smietanowski <stesmi@stesmi.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Xin Zhao wrote:
> > Also, I might want to know whether it is common case that linux apps
> > are compiled with  -fomit-frame-pointer swtich?
>
> This is the Linux KERNEL development list.
>
> Not Linux USERSPACE development list.
>
> Find an appropriate list and ask your question there please.
>
> // Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
>
> iD8DBQFDMXRvBrn2kJu9P78RAtlSAJwOMuF3mA9oxQO6nLwsHTCmf9lngACgkfOQ
> XMpu/ZFfdokiJ7jFSRCpvvQ=
> =Q3QR
> -----END PGP SIGNATURE-----
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is stack back trace possible if compiled with -fomit-frame-pointer?
  2005-09-21 14:37 Is stack back trace possible if compiled with -fomit-frame-pointer? Xin Zhao
@ 2005-09-21 14:55 ` Stefan Smietanowski
  2005-09-21 14:50   ` Xin Zhao
  2005-09-21 15:25 ` Alistair John Strachan
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Smietanowski @ 2005-09-21 14:55 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Xin Zhao wrote:
> Also, I might want to know whether it is common case that linux apps
> are compiled with  -fomit-frame-pointer swtich?

This is the Linux KERNEL development list.

Not Linux USERSPACE development list.

Find an appropriate list and ask your question there please.

// Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDMXRvBrn2kJu9P78RAtlSAJwOMuF3mA9oxQO6nLwsHTCmf9lngACgkfOQ
XMpu/ZFfdokiJ7jFSRCpvvQ=
=Q3QR
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is stack back trace possible if compiled with -fomit-frame-pointer?
  2005-09-21 14:37 Is stack back trace possible if compiled with -fomit-frame-pointer? Xin Zhao
  2005-09-21 14:55 ` Stefan Smietanowski
@ 2005-09-21 15:25 ` Alistair John Strachan
  1 sibling, 0 replies; 4+ messages in thread
From: Alistair John Strachan @ 2005-09-21 15:25 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel

On Wednesday 21 September 2005 15:37, Xin Zhao wrote:
> Also, I might want to know whether it is common case that linux apps
> are compiled with  -fomit-frame-pointer swtich?
>

Barring gentoo/LFS/DIY distros, where no such assertions can be made, the 
answer is probably "no". Most distros don't strip out a useful source of 
userspace debugging for the sake of 'speed'.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-21 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 14:37 Is stack back trace possible if compiled with -fomit-frame-pointer? Xin Zhao
2005-09-21 14:55 ` Stefan Smietanowski
2005-09-21 14:50   ` Xin Zhao
2005-09-21 15:25 ` Alistair John Strachan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.