Hello @compnerd , I was working on the swift-inspect
but the situation turned out to be "not so easy." It appears there is no easy way to get things like iterateHeap
on Linux and the sourcecode just for the task of iterating heap has few thousands lines of Swift code.
I have published my work so far as a separate repo GitHub - mikolasstuchlik/memtool (I have created a tread about it Tool for analyzing heap of Linux Glibc (Swift) process in Swift)
The tool works as a proof of concept, but I was thinking about how should I approach future development. Is it even possible to merge into apple/swift
dependency to a repository, that is not under direct control of apple
? Or since the codebase is so large, can it even be "merged" with the existing swift-inspect
?