Open Bug 2067222 Opened 3 months ago Updated 2 months ago

assembler files need gcc tagging to allow advanced memory protect features.

Categories

(NSS :: Libraries, defect, P3)

Tracking

(Not tracked)

People

(Reporter: rrelyea, Assigned: rrelyea)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Intel processors have some advanced instructions that can mark legal entry points for indirect branches and returns. This is used by GCC to create shaddow stack implementations. The entry points to our intel assembler in freebl, meet those requirements (the are never called as indirect branchs are have addresses that are supposed to be returned to), but we don't have the gcc elf labels that mark them as such. This prevents these features from being turned on in applications that link with NSS.

Annocheck is a tool that will identify these difficencies and passing annocheck is sufficient to know that our entries are correct.

Add appropriate .notes section to these assembler files

Assignee: nobody → rrelyea

The severity field is not set for this bug.
:anna.weine, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(anna.weine)
Flags: needinfo?(anna.weine)
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: