[DynInst_API:] [dyninst/dyninst] 07b506: Remove binaryEdit::deleteBinaryEdit (#866)


Date: Tue, 29 Sep 2020 13:09:43 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] 07b506: Remove binaryEdit::deleteBinaryEdit (#866)
  Branch: refs/heads/api_breakages
  Home:   https://github.com/dyninst/dyninst
  Commit: 07b506e729502843b07c83394f113cffe7a1e423
      https://github.com/dyninst/dyninst/commit/07b506e729502843b07c83394f113cffe7a1e423
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M dyninstAPI/src/binaryEdit.C
    M dyninstAPI/src/binaryEdit.h

  Log Message:
  -----------
  Remove binaryEdit::deleteBinaryEdit (#866)

This moves the same functionality into the destructor and prevents possible memory corruption when its usage would promote in-place object reuse. Originally part of #317.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 07b506: Remove binaryEdit::deleteBinaryEdit (#866), noreply <=