Re:Any sufficiently advanced uninstaller is indistinguishabl...
by EustassKid on Wednesday September 13, 2023 @03:30PM
(#37500664)
I feel like this is some stupid question but aren't exexutables and their libraries loaded to RAM? If yes then why can't it just delete itself (from disk)?
[ Parent
| on HN ]
Re:Any sufficiently advanced uninstaller is indistinguishabl...
by GuB-42 on Wednesday September 13, 2023 @03:45PM
(#37500859)
I don't know the details but I think executable files are mapped into memory, and needed sections are loaded on demand. In case the system is low on RAM, little used sections can be evicted, to be reloaded the next time they are needed. This requires the file to be present on disk.