Closed
Bug 1465825
Opened 6 years ago
Closed 6 years ago
shlibsign crashes when compiled with cfi-icall
Categories
(NSS :: Tools, defect)
NSS
Tools
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: tjr, Assigned: tjr)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Details |
> 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);
Comment 1•6 years ago
|
||
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.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → tom
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
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.
Description
•