summaryrefslogtreecommitdiffhomepage
path: root/lib/resolv.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-02-03 17:01:20 +0100
committerJo-Philipp Wich <jo@mein.io>2022-02-03 17:03:59 +0100
commit3e3f38de65f22db4497e0bff3f6b75354ae9463a (patch)
tree0ea34a1d682a3bad9a3131849cb45bc57b6d6944 /lib/resolv.c
parent3600ded530cf099a922cbff73df37d7bcf3c3008 (diff)
vm: ensure consistent trace output between gcc and clang compiled ucode
Clang emits code which evaluates function call argument expressions in a different order, causing `uc_dump_insn()` to receive the instruction pointer address after decoding the instruction, not before. Avoid that problem by explicitly caching the pre-decode address in a temporary variable which is then passed to `uc_dump_insn()`. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib/resolv.c')
0 files changed, 0 insertions, 0 deletions