How to Install and Uninstall dwarves Package on openSuSE Tumbleweed

Last updated: May 06,2024

1. Install "dwarves" package

In this section, we are going to explain the necessary steps to install dwarves on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install dwarves

2. Uninstall "dwarves" package

This is a short guide on how to uninstall dwarves on openSuSE Tumbleweed:

$ sudo zypper remove dwarves

3. Information about the dwarves package on openSuSE Tumbleweed

Information for package dwarves:
--------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : dwarves
Version : 1.26-1.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 352.9 KiB
Installed : No
Status : not installed
Source package : dwarves-1.26-1.1.src
Upstream URL : https://acmel.wordpress.com/
Summary : DWARF utilities
Description :
dwarves is a set of tools that use the DWARF debugging information
inserted in ELF binaries by compilers such as GCC, used by well known
debuggers such as GDB, and more recent ones such as systemtap.
Utilities in the dwarves suite include pahole, that can be used to
find alignment holes in structs and classes in languages such as C,
C++, but not limited to these.
It also extracts other information such as CPU cacheline alignment,
helping pack those structures to achieve more cache hits.
A diff like tool, codiff can be used to compare the effects changes
in source code generate on the resulting binaries.
Another tool is pfunct, that can be used to find all sorts of
information about functions, inlines, decisions made by the compiler
about inlining, etc.