[DynInst_API:] [dyninst/dyninst] 0086f3: Remove void pointer arithmetic when using Valgrind...


Date: Mon, 28 Mar 2022 21:56:50 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 0086f3: Remove void pointer arithmetic when using Valgrind...
  Branch: refs/heads/thaines/valgrind_void_pointer_arith
  Home:   https://github.com/dyninst/dyninst
  Commit: 0086f3a672421a4ff3adb245f2c8c7e9888a762d
      https://github.com/dyninst/dyninst/commit/0086f3a672421a4ff3adb245f2c8c7e9888a762d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M common/src/concurrent.C

  Log Message:
  -----------
  Remove void pointer arithmetic when using Valgrind annotations

gcc allows this as an extension by considering sizeof(void) to be 1 (http://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html).


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 0086f3: Remove void pointer arithmetic when using Valgrind..., Tim Haines <=