[DynInst_API:] [dyninst/dyninst] d0ecd9: Fix undefined behavior in usage of std::transform ...


Date: Tue, 22 Sep 2020 15:51:53 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] d0ecd9: Fix undefined behavior in usage of std::transform ...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: d0ecd95ea64c602d724553b941dd09afe6e83098
      https://github.com/dyninst/dyninst/commit/d0ecd95ea64c602d724553b941dd09afe6e83098
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M dyninstAPI/src/mapped_object.C
    M instructionAPI/src/ArchSpecificFormatters.C
    M instructionAPI/src/Register.C

  Log Message:
  -----------
  Fix undefined behavior in usage of std::transform (#862)

Starting in C++11, it is undefined behavior to have the destination
iterator be contained within the input range.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] d0ecd9: Fix undefined behavior in usage of std::transform ..., noreply <=