GCOV-DUMP(1)

πŸ“¦ version 14.2.0, in ubuntu noble

πŸ’– GCOV-DUMP(1) β€” the GNU girlie's guide πŸ’–

okay so bestie, this is gcov-dump from the GNU fam, and it's genuinely one of the most underrated little tools in the whole GCC friend group. let's get into it 🫢


✨ NAME ✨

gcov-dump β€” the offline gcda and gcno profile dump tool πŸŽ€


🌸 SYNOPSIS 🌸

gcov-dump [-v|--version]
     [-h|--help]
     [-l|--long]
     [-p|--positions]
     [-r|--raw]
     [-s|--stable]
     gcovfiles

πŸ¦‹ DESCRIPTION πŸ¦‹

so gcov-dump is this tool you can use in conjunction with GCC to dump the content of gcda and gcno profile files β€” offline. like, no live compiler needed, just vibes and a file. it's giving forensic investigator but make it coverage data πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” displays help about using gcov-dump (on the standard output) and then exits without doing any further processing. the polite lil "wait, how does this work" button πŸ₯°
  • -l, --long β€” dumps content of records. more detail, more lore.
  • -p, --positions β€” dumps positions of records. where the records at? now you know πŸ“
  • -r, --raw β€” prints content records in raw format. no filter, no glow-up, just the raw truth.
  • -s, --stable β€” prints content in stable format usable for comparison. this is the one you want when you're diffing two dumps and need them to actually line up πŸ™ˆ
  • -v, --version β€” displays the gcov-dump version number (on the standard output) and then exits without doing any further processing. iconic, brief, no notes ✨

Copyright (c) 2017-2024 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being "GNU General Public License" and "Funding Free Software", the Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the gfdl(7) man page.

πŸŽ€ (a) The FSF's Front-Cover Text is:

A GNU Manual

πŸ“ (b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU software.  Copies published by the Free Software Foundation raise funds for GNU development.

fr fr bestie, that license text is a whole paragraph and yes you do have to read it. it's not filler, it's the actual terms πŸ’–

and that's the whole page, no cap 🧚 this one shipped in gcc-14.2.0, dated 2024-08-01, and it's still serving coverage-dump realness to this day. mwah πŸ’‹ slay, go dump some records ✨

πŸ“¦ where this page comes from