Jacinda
  • Extracting Compiler Version from Compiled Binaries Using Jacinda

    by Vanessa McHale | Jacinda

    Compilers and linkers put their own version information in ELF binaries; we can inspect with readelf on the .comment section, to wit:

  • Better Vim Tags With Jacinda

    by Vanessa McHale | Jacinda

    Universal ctags points the cursor to line numbers rather than the actual definition (as language servers do). Vim uses ex (:h Ex-mode) commands as destinations. We want to generate call cursor(line,col) for each identifier.

  • Unix As an IDE II

    by Vanessa McHale | Jacinda

    nm shows symbols defined in an executable. GHC includes library name in symbols, so we can use this to inspect libraries that make it into the compiled binary. GHC uses z-encoding so we pipe the output of nm into an ad-hoc invocation of sed, viz.

  • The Unix Command-line As an IDE

    by Vanessa McHale | Jacinda

    GHC embeds linker flags into the final ELF binary:

  • Utility of AWK

    by Vanessa McHale | Jacinda

    I turned to my own Jacinda to view the output of otool and was pleasantly surprised.