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:
parent
76588d1319
commit
e1b2b9bf1d
3 changed files with 67 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue