[DynInst_API:] [dyninst/dyninst] ada1d1: Prevent memory corruption: Dwarf_Dbg is a pointer ...


Date: Mon, 20 Jun 2016 05:26:29 -0700
From: John Detter <jdetter@xxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] ada1d1: Prevent memory corruption: Dwarf_Dbg is a pointer ...
  Branch: refs/heads/VEX
  Home:   https://github.com/dyninst/dyninst
  Commit: ada1d139f01b9927c24fd2274c75f1ffe80e56dc
      https://github.com/dyninst/dyninst/commit/ada1d139f01b9927c24fd2274c75f1ffe80e56dc
  Author: Bill Williams <bill@xxxxxxxxxxx>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/dwarfWalker.C
    M symtabAPI/src/dwarfWalker.h

  Log Message:
  -----------
  Prevent memory corruption: Dwarf_Dbg is a pointer under the hood, so don't take references to it.


  Commit: 73cd0019856eca0636e652e402f9eaed6ba9dc61
      https://github.com/dyninst/dyninst/commit/73cd0019856eca0636e652e402f9eaed6ba9dc61
  Author: Josh Stone <cuviper@xxxxxxxxx>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M dyninstAPI_RT/src/RTcommon.c

  Log Message:
  -----------
  RTlib: use static TLS for the tramp guard (#99)

With dynamic TLS, the call to __tls_get_addr() could reach additional
instrumented code, infinitely recursing back to check the tramp guard.
Static TLS is a limited resource, but this case in RTlib is special
enough to warrant it for safety alone, nevermind performance.


  Commit: 60f1779317bb9d91a2212fbcd2dba1fbafc50caa
      https://github.com/dyninst/dyninst/commit/60f1779317bb9d91a2212fbcd2dba1fbafc50caa
  Author: John Detter <jdetter@xxxxxxxx>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M common/src/arch-x86.C
    M common/src/arch-x86.h
    M dyninstAPI/src/codegen-x86.C

  Log Message:
  -----------
  Implemented rewriting fix -- testing


  Commit: d1b4334e13e7cc4a3ee52a34c9d3f63ebff129b2
      https://github.com/dyninst/dyninst/commit/d1b4334e13e7cc4a3ee52a34c9d3f63ebff129b2
  Author: Josh Stone <jistone@xxxxxxxxxx>
  Date:   2016-06-17 (Fri, 17 Jun 2016)

  Changed paths:
    M dyninstAPI_RT/src/RTcommon.c

  Log Message:
  -----------
  Make the tramp guard bigger to avoid a glibc bug.

Having just one byte of TLS induces glibc bug 14898 with the definition
of FORCED_DYNAMIC_TLS_OFFSET.  Bumping to two bytes avoids this.

Fixes #101


  Commit: 476d08360b1f7063c5de1f3b4852dcf419806bc8
      https://github.com/dyninst/dyninst/commit/476d08360b1f7063c5de1f3b4852dcf419806bc8
  Author: John Detter <jdetter@xxxxxxxx>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M common/src/arch-x86.C
    M common/src/arch-x86.h

  Log Message:
  -----------
  Error checking improvements


  Commit: d2163c3ca34c0e8fe439c40c8285345707991163
      https://github.com/dyninst/dyninst/commit/d2163c3ca34c0e8fe439c40c8285345707991163
  Author: John Detter <jdetter@xxxxxxxx>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M dyninstAPI_RT/src/RTcommon.c
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/dwarfWalker.C
    M symtabAPI/src/dwarfWalker.h

  Log Message:
  -----------
  Merge branch 'master' of http://github.com/dyninst/dyninst into VEX


  Commit: b495a418b4a989e7d5e7bce90afbc822b5ab442c
      https://github.com/dyninst/dyninst/commit/b495a418b4a989e7d5e7bce90afbc822b5ab442c
  Author: John Detter <jdetter@xxxxxxxx>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M common/src/arch-x86.C

  Log Message:
  -----------
  Bug fixes for instruction parsing


  Commit: c2a2e27ab870364a654d1a0485f5a2c0820c777e
      https://github.com/dyninst/dyninst/commit/c2a2e27ab870364a654d1a0485f5a2c0820c777e
  Author: John Detter <jdetter@xxxxxxxx>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M common/src/arch-x86.C
    M dyninstAPI/src/codegen-x86.C

  Log Message:
  -----------
  Binary rewriting bugs fixed -- still segfault's with Unix benchmarking tool


Compare: https://github.com/dyninst/dyninst/compare/7ce040d6bc2c...c2a2e27ab870
[← Prev in Thread] Current Thread [Next in Thread→]