diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-11-02 09:37:00 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-11-03 09:13:06 -0700 |
| commit | a59bff84f5ae43f9b9f8d4271da4c5879c5565a5 (patch) | |
| tree | b31f0add32ff609a3708c4a332dd7fa4aae28b49 /executor | |
| parent | 7a2ebf95abdfd7af12ac4453060f347771375b07 (diff) | |
executor: fix TestCommonExt for bigendian arches
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_ext_example.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_ext_example.h b/executor/common_ext_example.h index 0cabcb75c..71289211e 100644 --- a/executor/common_ext_example.h +++ b/executor/common_ext_example.h @@ -13,5 +13,5 @@ static void setup_ext() static void setup_ext_test() { // See TestCommonExt. - *(uint64*)(SYZ_DATA_OFFSET + 0x1234) = 0xbadc0ffee; + memcpy((void*)(SYZ_DATA_OFFSET + 0x1234), "\xee\xff\xc0\xad\x0b\x00\x00\x00", 8); } |
