GCOV-DUMP(1)
π 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 usinggcov-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 thegcov-dumpversion number (on the standard output) and then exits without doing any further processing. iconic, brief, no notes β¨
π COPYRIGHT π
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
- ubuntu noble: gcc-14-mipsel-linux-gnu 14.2.0-4ubuntu2~24.04cross1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms