hatrace

scriptable strace (by nh2)

Hatrace Alternatives

Similar projects and alternatives to hatrace

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hatrace alternative or higher similarity.

hatrace reviews and mentions

Posts with mentions or reviews of hatrace. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-08.
  • Tracexec: TUI for tracing execve and pre-exec behavior
    5 projects | news.ycombinator.com | 8 May 2024
    Ah yes, very good!

    More such tools are needed that make common strace tasks more convenient.

    strace is the ultimate debugging tool to dive into almost every problem where a program doesn't do what you want, but its stream based nature and lack of scripting doesn't make all tasks convenient. Most importantly, you can't really "program" with it.

    Some time ago, I started implementing "strace as a library" in Haskell, to get an easy-to-process stream of syscalls/signals as an ADT, so that one can easily build features on top of it, e.g. a tree of fork()ed/execve()'d child processes. That's point "special run modes tailored to specific tasks (e.g. execve tree)" from https://github.com/nh2/hatrace. I haven't gotten as far as I'd like yet, because I'd like to first explicitly support all Linux syscalls, and build the features on top of that afterwards. And some features are not so easy, e.g. reading memory of the traced process (which strace does to do e.g. show what data was `read()`).

    From that experience, I applaud anybody who makes good use of ptrace() -- that man page is not the easiest to read!

Stats

Basic hatrace repo stats
1
121
-
almost 4 years ago

nh2/hatrace is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of hatrace is Haskell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com