Perl/Tk saves your favourite tools

(source of an example implementation of
a part of atsar)
Perl provides some useful information about binary things.

If you have run h2ph when installing Perl (this is not done by
default) you also have access to the constants which are defined in the
C-header files. It is quite hard to get this to work with Perl's warnings
on.

An other thing to be aware of, is that Perl-strings contain a length, so
are not '\0' terminated as is C. If you have a list of
C-type strings in one scalar, you just can split based on the
'\0'.