diff --git a/core/relinker/relinker/tests/test_guest_none_relocations.py b/core/relinker/relinker/tests/test_guest_none_relocations.py index 93c5d7a246eb..fdbf6967873b 100644 --- a/core/relinker/relinker/tests/test_guest_none_relocations.py +++ b/core/relinker/relinker/tests/test_guest_none_relocations.py @@ -76,6 +76,18 @@ def change_tag(image, tag, value=None, replacement=None): raise AssertionError(f"Missing dynamic tag {tag:#x}") +def insert_dynamic_tag(image, tag, value): + for position in range(0x2000, 0x2200, 16): + current, _ = struct.unpack_from("