Closed
Bug 1564538
Opened 6 years ago
Closed 6 years ago
Launcher process: Disable compiler emission of memset/memcpy calls in DllBlocklistWin.cpp
Categories
(Firefox :: General, task, P1)
Tracking
()
RESOLVED
FIXED
Firefox 70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: inj+)
Attachments
(1 file)
We can't assume that the code in DllBlocklistWin.cpp
will have a language runtime available. This could be problematic if the compiler emits calls to memset
or memcpy
to initialize data structures (inlined intrinsics are still OK).
Apparently specifying -ffreestanding
will inform clang
of this condition.
We also need to check up on the situation for GCC.
I'm less sure about MSVC, all I could find on the subject was this StackOverflow post.
Assignee | ||
Comment 1•6 years ago
|
||
Looks like (as expected) GCC uses the same flag.
Configure won't let you proceed with MSVC these days, so no need to worry about it.
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to David Major [:dmajor] from comment #2)
Configure won't let you proceed with MSVC these days, so no need to worry about it.
Great, thanks!
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Priority: P3 → P1
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb3217bef0ec
Set -ffreestanding on DllBlocklistWin.cpp; r=dmajor
Comment 6•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
You need to log in
before you can comment on or make changes to this bug.
Description
•