[DynInst_API:] [dyninst/dyninst] 7233f5: Remove undefined behavior from Symtab::Type


Date: Fri, 31 Jan 2020 15:21:21 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 7233f5: Remove undefined behavior from Symtab::Type
  Branch: refs/heads/remove_ub_symtab
  Home:   https://github.com/dyninst/dyninst
  Commit: 7233f5e9b1a9825d861647c6a41cda17cd0a40fc
      https://github.com/dyninst/dyninst/commit/7233f5e9b1a9825d861647c6a41cda17cd0a40fc
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M symtabAPI/h/Type.h
    M symtabAPI/src/Type.C

  Log Message:
  -----------
  Remove undefined behavior from Symtab::Type

Calling a member function of a base class before the base class's
constructor has completed is undefined behavior.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 7233f5: Remove undefined behavior from Symtab::Type, Tim Haines <=