Minoru on Nostr: If you believe that main() is the first bit of code that gets to run, and ever ...
If you believe that main() is the first bit of code that gets to run, and ever wondered how globals are initialized then, this article is just for you:
http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html Now I need to find something about dynamic linkers and what happens between mmapping an ELF into memory and calling _start. Any pointers?
#programming #linux
Published at
2023-09-09 08:47:27Event JSON
{
"id": "3ac19cfa82b9ad2a0c0988636c4626c008f7e8f0c1162737af7d86eafd7974fa",
"pubkey": "484b8970dc90b78a532893a63bbd70a728c7852ed706c95d95b1845bae7b4b42",
"created_at": 1694249247,
"kind": 1,
"tags": [
[
"t",
"programming"
],
[
"t",
"linux"
],
[
"proxy",
"https://functional.cafe/users/minoru/statuses/111034318682119448",
"activitypub"
]
],
"content": "If you believe that main() is the first bit of code that gets to run, and ever wondered how globals are initialized then, this article is just for you: http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html \n\nNow I need to find something about dynamic linkers and what happens between mmapping an ELF into memory and calling _start. Any pointers?\n\n#programming #linux",
"sig": "81f103191f23b2cb760fe061656146fab1631f62681b123cb09157791ae09133fa1bc31ec5af4bb9d975c0a6e7042aaf1ce8b4a486356cc4efc74e5c2efa3d3c"
}