LIBMINICOREDUMPER(7)

πŸ’– LIBMINICOREDUMPER πŸ’–

okay so real talk β€” this is section 7 of the manual, the minicoredumper manual, and it's about libminicoredumper. it's a whole library bestie. let's get into it ✨


✨ NAME ✨

libminicoredumper β€” a library for registering application data for dumping with the minicoredumper(8) 🫢


🌸 DESCRIPTION 🌸

so libminicoredumper gives you an interface for registering binary and text data so it can get dumped by the minicoredumper(8). literally that's its whole thing. πŸ’…

and the data? it can be dumped into a core(5) file (in case this application crashes 😭), or into separate files for simple access. your choice, your vibe. 🌈

here's the iconic part: if any data is registered for dumping, an anonymous UNIX domain socket is used to send a message to minicoredumper_regd(8), thus registering this application with the minicoredumper(8). no cap. πŸŽ€

then, when some other application crashes, the minicoredumper(8) will dump the registered data from this application as well. the way that works is so clever actually. πŸ‘‘

this feature allows variable information from multiple applications to be dumped soon after any application crashes. group-chat energy but for crash dumps fr fr. πŸ’€

and to minimize the time between an application crash and the dumping of other registered applications, the minicoredumper(8) uses PTRACE_SEIZE and PTRACE_INTERRUPT to temporarily pause registered applications until all dumping is complete. iconic behaviour tbh ✨


πŸ¦‹ SEE ALSO πŸ¦‹

and the The DiaMon Workgroup: <http://www.diamon.org> β€” go say hi, they're the moment πŸ’œ


k that's the whole page bestie, no crumbs left πŸ“ this was minicoredumper, dated 2017-01-19, and it lives in the LIBMINICOREDUMPER(7) era. go register some data, you main character πŸ§šπŸ’–

πŸ“¦ where this page comes from