Vielleicht programmiere ich gerade eine Art Minimal-valgrind, um ein #Speicherleck zu suchen …
#free #malloc #memoryleak #debugging #c #Speicherleck
Link blog entry for "Memory Allocation": For those of you learning C or C , this article is a great and detailed tutorial. Also useful if you are studying operating systems. (https://samwho.dev/memory-allocation/)
#malloc, c, tutorial, explainer, best-bet
My PR (#98) on Why-OpenBSD.Rocks accepted!
About the fact: malloc leak detection…
#detection #malloc #fact #whyopenbsdrocks
Implementing malloc() on a MCU.
It's like managing space for variable-sized boxes on a shelf.
- You don't know how long the box is going to sit on that shelf.
- You're not allowed to cut a box in half to make it fit an existing space between other boxes.
- You're not able to move the boxes because the people who have requested shelf space will expect to find their box *exactly* where you placed it last.
I try to avoid #malloc on #embedded, but sometimes you get no choice.
Computerphile
Garbage Collection (Mark & Sweep)
https://www.youtube.com/watch?v=c32zXYAK7CI
#Computerphile #LaurenceTratt #Collection #free #Garbage #malloc #memory #memoryLeak #Mark #Sweep
#computerphile #laurencetratt #collection #free #garbage #malloc #memory #memoryleak #mark #sweep
I just committed changes to my/#OpenBSD's #malloc to make a few pages containing (meta) data structures immutable, adding more protection to the heap. Immutable pages cannot be unmapped or replaced by another mapping and their protection (RWX) bits cannot be changed. See https://marc.info/?l=openbsd-cvs&m=167216184209186&w=2 and http://undeadly.org/cgi?action=article;sid=20221120115616
And maybe that's a good thing. I no longer know #assembly or #malloc... I leave that to experts so I can focus on the domain problems I need to solve.
#abstraction #softwaredevelopment
---
RT @TheJackForge
I no longer know CSS, I only know Tailwind. 💀
https://twitter.com/TheJackForge/status/1606146198347255808
#assembly #malloc #abstraction #softwaredevelopment
so much research into modern #malloc implementations, how relevant are memory pools today?
Kernel memory allocator hardening by Apple
kheap, data split, memory sequestering, kalloc_type, temporal safery...
https://security.apple.com/blog/towards-the-next-generation-of-xnu-memory-safety/
#apple #malloc #kalloc #memory #infosec #cybersecurity #exploit
#apple #malloc #kalloc #memory #infosec #cybersecurity #exploit
Mesa, VirtualBox, Ceph, NetworkManager Packages Update in Tumbleweed https://news.opensuse.org/2019/06/06/mesa-virtualbox-ceph-networkmanager-packages-update-in-tumbleweed/ #continousintegration #openSUSETumbleweed #networkmanager #Announcements #Tumbleweed #WeeklyNews #ghashtable #mesonbuild #virtualbox #bublewrap #GNOME3.32 #snapshot #reviwer #malloc #fixes #GlibC #GNOME #Linux #ceph #curl #gegl #jsom #php7 #api #CVE #LTO
#api #cve #lto #continousintegration #opensusetumbleweed #networkmanager #announcements #tumbleweed #weeklynews #ghashtable #mesonbuild #virtualbox #bublewrap #gnome3 #snapshot #reviwer #malloc #fixes #glibc #gnome #linux #ceph #curl #gegl #jsom #php7
とりあえずざっくり読むかぎり #glibc の #malloc が #NULL を返すケースはありますね / "glibc/memusage.c at master · walac/glibc" https://github.com/walac/glibc/blob/master/malloc/memusage.c#L363