[DynInst_API:] [dyninst/dyninst] cd8ac9: remove executable flag from .dyninst_heap section ...


Date: Thu, 02 Sep 2021 11:36:03 -0700
From: kupsch <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] cd8ac9: remove executable flag from .dyninst_heap section ...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: cd8ac961809ee7b98640eb7c239d799139199e7b
      https://github.com/dyninst/dyninst/commit/cd8ac961809ee7b98640eb7c239d799139199e7b
  Author: kupsch <kupsch@xxxxxxxxxxx>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M dyninstAPI_RT/src/RTspace.S

  Log Message:
  -----------
  remove executable flag from .dyninst_heap section (#1096)

This prevents the library/object with this code from having a segment violates
the W^X security property for segments as the current setting resulted in
segment with both the WRITE and EXECUTE flags set.  The function
mark_heaps_exec() restores execute protection to just the heap arrays.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] cd8ac9: remove executable flag from .dyninst_heap section ..., kupsch <=