RawModule SetAddressRange/set_name

This commit is contained in:
Dr. Chat
2015-10-24 14:02:08 -05:00
parent 64b8dcfd99
commit 729f762c5d
2 changed files with 11 additions and 0 deletions

View File

@@ -24,7 +24,12 @@ class RawModule : public Module {
bool LoadFile(uint32_t base_address, const std::wstring& path);
// Set address range if you've already allocated memory and placed code
// in it.
void SetAddressRange(uint32_t base_address, uint32_t size);
const std::string& name() const override { return name_; }
void set_name(const std::string& name) { name_ = name; }
bool ContainsAddress(uint32_t address) override;