[DynInst_API:] [dyninst/dyninst] 10e1ce: Remove void pointer arithmetic when using Valgrind...


Date: Tue, 29 Mar 2022 13:24:55 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 10e1ce: Remove void pointer arithmetic when using Valgrind...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 10e1cebcf413b1d47f260aa7e3e115fe5f4c779f
      https://github.com/dyninst/dyninst/commit/10e1cebcf413b1d47f260aa7e3e115fe5f4c779f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M common/src/concurrent.C

  Log Message:
  -----------
  Remove void pointer arithmetic when using Valgrind annotations (#1236)

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] 10e1ce: Remove void pointer arithmetic when using Valgrind..., Tim Haines <=