#ifndef CRUCIBLE_BACKTRACE_H #define CRUCIBLE_BACKTRACE_H #include #include #include namespace crucible { using namespace std; class Backtrace { vector m_buffer; mutable vector m_result_stringvec; mutable char **m_result_cpp; int m_result_size; int m_desired_size; public: Backtrace(int size = 99); ~Backtrace(); const vector &strings() const; const vector &voids() const; void symbols_fd(int fd) const; bool overflowed() const; }; } #endif // CRUCIBLE_BACKTRACE_H