Files
jsix_import/src/tools/makerd/entry.cpp
Justin C. Miller bbb9aae198 [kernel] Use symbol table in stack traces
Now using the symbol table built by build_symbol_table.py in the kernel
when printing stack traces.
2020-08-09 17:27:51 -07:00

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);
}