[DynInst_API:] [dyninst/dyninst] 0a3556: Fix duplicate symbol entries in Symtab:everyFunction


Date: Thu, 28 Sep 2023 07:07:23 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 0a3556: Fix duplicate symbol entries in Symtab:everyFunction
  Branch: refs/heads/thaines/deduplicate_sym_entries
  Home:   https://github.com/dyninst/dyninst
  Commit: 0a35565844ebeda2364ebb9ab52b0197e77775ec
      https://github.com/dyninst/dyninst/commit/0a35565844ebeda2364ebb9ab52b0197e77775ec
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M symtabAPI/src/Symtab.C

  Log Message:
  -----------
  Fix duplicate symbol entries in Symtab:everyFunction

A function should only be added to everyFunction if it was not already
in funcsByOffset or if it lives in a different code region from the
function found with the same offset.

This was introduced by https://github.com/dyninst/dyninst/pull/1534.


[← Prev in Thread] Current Thread [Next in Thread→]