I just got a free(): invalid pointer in a rust program (while unwinding) so, yeah, I need a quick break
-
-
There was another subtle bug btw: malloc/free misuse is SO EASY to identify as compared to mmap misuse. The memory manager will happily unmap crucial stuff from under you and it'll blow up way later.pic.twitter.com/Z4UANRnq6g
Prikaži ovu nit -
The worst part is that you can't really write a sanitizer for mmap mis-use because remapping regions is 100% legitimate usage and something the dynamic linker does a bunch
Prikaži ovu nit -
tl;dr we need a "unfuckingsafe" keyword for the https://crates.io/crates/mmap crate
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
rust, go, compilers, music, gamedev
donate:
watch:
he/him

- mmap with MAP_FIXED is *way dangerous*
- using LLDB for day-to-day stuff sounds worth it 