Sprucing up some of alloy.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#ifndef ALLOY_RUNTIME_RAW_MODULE_H_
|
||||
#define ALLOY_RUNTIME_RAW_MODULE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <alloy/runtime/module.h>
|
||||
|
||||
namespace alloy {
|
||||
@@ -18,16 +20,16 @@ namespace runtime {
|
||||
class RawModule : public Module {
|
||||
public:
|
||||
RawModule(Runtime* runtime);
|
||||
virtual ~RawModule();
|
||||
~RawModule() override;
|
||||
|
||||
int LoadFile(uint64_t base_address, const char* path);
|
||||
|
||||
virtual const char* name() const { return name_; }
|
||||
const std::string& name() const override { return name_; }
|
||||
|
||||
virtual bool ContainsAddress(uint64_t address);
|
||||
bool ContainsAddress(uint64_t address) override;
|
||||
|
||||
private:
|
||||
char* name_;
|
||||
std::string name_;
|
||||
uint64_t base_address_;
|
||||
uint64_t low_address_;
|
||||
uint64_t high_address_;
|
||||
|
||||
Reference in New Issue
Block a user