Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bonzini
87 days ago
|
parent
|
context
|
favorite
| on:
GNU IFUNC is the real culprit behind CVE-2024-3094
It does not, it's actually arbitrary code running during the dynamic loading process, i.e. before _start.
Panzerschrek
87 days ago
[–]
But what if I have a C++ dynamic library? Does it call constructors for global variables before
_start
function in the main program starts?
bonzini
87 days ago
|
parent
[–]
_start takes care of calling the global initializers and register the atexit callback for the finalizers.
(In practice _start calls __libc_start_main, a libc function that handles all of that).
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: