Closed Bug 1465825 Opened 6 years ago Closed 6 years ago

shlibsign crashes when compiled with cfi-icall

Categories

(NSS :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

> root@995b3ffd0c90:~/workspace/build/src/obj-firefox/dist/bin# LD_LIBRARY_PATH=. ./shlibsign -v -o ../../dist/firefox/libsoftokn3.chk -i ../../dist/firefox/libsoftokn3.so > Illegal instruction It crashes right here: https://searchfox.org/mozilla-central/rev/83a923ef7a3b95a516f240a6810c20664b1e0ac9/security/nss/cmd/shlibsign/shlibsign.c#901 > crv = (*pC_GetFunctionList)(&pFunctionList);
pkcs#11 meets cfi :popcorn: Since pkcs#11 functions are by definition in a different .so you need to whitelist them, CFI only works with a single linked-together-thing.
Blocks: 1465863
Assignee: nobody → tom
Blocks: 1465967
Blocks: cfi-icall
No longer blocks: 1465549
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: