mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
module-verifier: Check range-limited relative relocations.
Check that they point to the same module, so will end up in the same chunk of memory.
This commit is contained in:
1 parent
76588d1319
commit
e1b2b9bf1d
3 files changed
+67
-15
No files matched your search
@@ -13,6 +13,7 @@ struct grub_module_verifier_arch {
|
||||
int machine;
|
||||
int flags;
|
||||
const int *supported_relocations;
|
||||
const int *short_relocations;
|
||||
};
|
||||
|
||||
void grub_module_verify64(void *module_img, size_t module_size, const struct grub_module_verifier_arch *arch);
|
||||
|
||||
Reference in new issue
Block a user