Now using the symbol table built by build_symbol_table.py in the kernel when printing stack traces.
16 lines
300 B
C++
16 lines
300 B
C++
#include "entry.h"
|
|
|
|
entry::entry(const std::string &in, const std::string &out,
|
|
bool executable, bool symbols) :
|
|
m_in(in),
|
|
m_out(out),
|
|
m_file(in, std::ios_base::binary),
|
|
m_exec(executable),
|
|
m_syms(symbols)
|
|
{
|
|
m_file.seekg(0, std::ios_base::end);
|
|
m_size = m_file.tellg();
|
|
m_file.seekg(0);
|
|
}
|
|
|