yara: Fix address offset after the first page of data
This commit is contained in:
parent
318e42be26
commit
7d0d8d5649
@ -207,7 +207,7 @@ namespace hex::plugin::builtin {
|
|||||||
|
|
||||||
if (context.buffer.empty()) return nullptr;
|
if (context.buffer.empty()) return nullptr;
|
||||||
|
|
||||||
provider->read(context.currBlock.base + provider->getBaseAddress() + provider->getCurrentPageAddress(), context.buffer.data(), context.buffer.size());
|
provider->read(context.currBlock.base + provider->getBaseAddress(), context.buffer.data(), context.buffer.size());
|
||||||
|
|
||||||
return context.buffer.data();
|
return context.buffer.data();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user