Coder Social home page Coder Social logo

libexecinfo's Introduction

I. About

This is a quick-n-dirty BSD licensed clone of backtrace facility found
in the GNU libc, mainly intended for porting linuxish code to BSD
platforms, however it can be used at any platform which has a gcc
compiler.

More information about API can be found here:

http://www.gnu.org/software/libc/manual/html_node/Backtraces.html


II. Known limitations

- Depth of stack trace is limited to 128 levels, which should be enough
  in most cases, the limit can be increased by editing gen.py and
  regenerating stacktraverse.c. The reason for that limitation steams
  from the fact that __builtin_return_address() function takes only
  constant as an argument, while gcc(1) has problems compiling giant
  switch() tables. For example to compile one with 1024 entries gcc(1)
  needs more than 1GB of memory (sic!);

- executable have to be linked using `-Wl,--export-dynamic' option,
  in order for function names to be displayed properly.


III. Author

Author of this junk is Maxim Sobolev <[email protected]>. Any feedback,
patches or suggestions are greatly appreciated.

$Id: README,v 1.2 2004/07/19 05:13:42 sobomax Exp $

libexecinfo's People

Contributors

mako2580 avatar leleliu008 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.