3 ms·
Very cool! I've started a similar project around `LD_PRELOAD` a few months ago to profile the time different programs spend on LibC calls. Provoking failures wa
by ashvardanian 2y ago
Very cool! I've started a similar project around `LD_PRELOAD` a few months ago to profile the time different programs spend on LibC calls. Provoking failures was the next step :)
Logging nicely was also an issue. I decided to avoid linking to any other symbols and implemented it with inline Assembly for x86/64 and aarch64: https://github.com/ashvardanian/LibSee/blob/fdae92e71c449c9196a7d3b7d547bdbd6417e481/libsee.c#L425-L542 https://github.com/ashvardanian/LibSee/blob/fdae92e71c449c91...