You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Theodosius/include/decomp/routine.hpp

21 lines
481 B

#pragma once
#include <map>
#include <string>
#include <vector>
#include "symbol.hpp"
namespace theo::decomp {
class routine_t {
public:
explicit routine_t(coff::section_header_t scn_hdr,
std::vector<std::uint8_t>& rtn_data);
std::vector<decomp::symbol_t> decompose();
coff::section_header_t scn_hdr();
std::vector<std::uint8_t> data();
private:
std::vector<std::uint8_t> m_data;
coff::section_header_t m_scn_hdr;
};
} // namespace theo::decomp