Skip to content

Parts of libcompiler-rt are compiled as WX #34482

Closed
@djc

Description

@djc

The following parts have WX sections (that is, memory that is writable and executable at the same time):

 * !WX --- --- usr/lib64/rust-1.9.0/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler-rt.a:chkstk.o
 * !WX --- --- usr/lib64/rust-1.9.0/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler-rt.a:chkstk2.o
 * !WX --- --- usr/lib64/rust-1.9.0/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler-rt.a:floatundidf.o
 * !WX --- --- usr/lib64/rust-1.9.0/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler-rt.a:floatundisf.o
 * !WX --- --- usr/lib64/rust-1.9.0/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler-rt.a:floatundixf.o

From a security point of view, this is probably bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions