Project

General

Profile

Actions

Bug #18123

closed

addr2line.c: Define `SHF_COMPRESSED`

Added by xtkoba (Tee KOBAYASHI) over 2 years ago. Updated almost 2 years ago.

Status:
Feedback
Assignee:
-
Target version:
-
[ruby-core:105022]

Description

Currently, addr2line.c defines SHF_COMPRESSED as 0 if not defined. This is problematic because this results in treating sections as not compressed even if they really are. If not defined, SHF_COMPRESSED should be defined as (1 << 11) instead. A patch is attached for that.


Files

ruby-addr2line-define-SHF_COMPRESSED.patch (241 Bytes) ruby-addr2line-define-SHF_COMPRESSED.patch Correctly define `SHF_COMPRESSED` if not defined xtkoba (Tee KOBAYASHI), 08/20/2021 11:17 AM

Updated by jeremyevans0 (Jeremy Evans) almost 2 years ago

I added a pull request for this patch and the patches for #18121 and #18081: https://github.com/ruby/ruby/pull/4957

Updated by mame (Yusuke Endoh) almost 2 years ago

  • Status changed from Open to Feedback

@xtkoba (Tee KOBAYASHI) Can you give me an example of a specific environment where this would be an actual problem? I can't verify this.

Actions

Also available in: Atom PDF

Like0
Like0Like0