[DynInst_API:] [dyninst/dyninst] f0b23c: Fix memory leaks in BinaryEdit::openResolvedLibrar...


Date: Tue, 06 Oct 2020 12:00:12 -0700
From: noreply@xxxxxxxxxx
Subject: [DynInst_API:] [dyninst/dyninst] f0b23c: Fix memory leaks in BinaryEdit::openResolvedLibrar...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: f0b23c29cf855d7de6729d7788ec41d904917ea1
      https://github.com/dyninst/dyninst/commit/f0b23c29cf855d7de6729d7788ec41d904917ea1
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M dyninstAPI/src/unix.C

  Log Message:
  -----------
  Fix memory leaks in BinaryEdit::openResolvedLibraryName (#879)

* Improve memory handling and simplify compatibility checks
* Use range-for loops
* Use emplacement for retMap
* Clean up string handling
* Simplify return paths
    This also improves the error messages.
* Fix memory leaks in static executable case
* Cleanup whitespace
* Omit BinaryEdits for incompatible archives of static binaries


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] f0b23c: Fix memory leaks in BinaryEdit::openResolvedLibrar..., noreply <=