How To Install honggfuzz on Fedora 34

honggfuzz is General-purpose, easy-to-use fuzzer General-purpose, easy-to-use fuzzer

Introduction

In this tutorial we learn how to install honggfuzz on Fedora 34.

What is honggfuzz

Honggfuzz is a general-purpose fuzzing tool. Given an input corpus files, honggfuzz modifies input to a test program and utilize the ptrace() API/POSIX signal interface to detect and log crashes. It can also use software or hardware-based code coverage techniques to produce more and more interesting inputs. honggfuzz 2.3.2 0.1.20210201gitb56729e.fc34 x86_64 761 k honggfuzz-2.3.2-0.1.20210201gitb56729e.fc34.src.rpm fedora General-purpose, easy-to-use fuzzer http ASL 2.0 Honggfuzz is a general-purpose fuzzing tool. Given an input corpus files, honggfuzz modifies input to a test program and utilize the ptrace() API/POSIX signal interface to detect and log crashes. It can also use software or hardware-based code coverage techniques to produce more and more interesting inputs.

We can use yum or dnf to install honggfuzz on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install honggfuzz.

Install honggfuzz on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install honggfuzz using dnf by running the following command:

sudo dnf -y install honggfuzz

Install honggfuzz on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install honggfuzz using yum by running the following command:

sudo yum -y install honggfuzz

How To Uninstall honggfuzz on Fedora 34

To uninstall only the honggfuzz package we can use the following command:

sudo dnf remove honggfuzz

honggfuzz Package Contents on Fedora 34

/usr/bin/hfuzz-cc
/usr/bin/hfuzz-clang
/usr/bin/hfuzz-clang++
/usr/bin/hfuzz-g++
/usr/bin/hfuzz-gcc
/usr/bin/honggfuzz
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/2116548b6a7b1e2cdac8d036793548cf7ad2d5
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/a443541fb15507333a182ae5dbc44bde5a4093
/usr/lib/.build-id/e7/a443541fb15507333a182ae5dbc44bde5a4093.1
/usr/lib/.build-id/e7/a443541fb15507333a182ae5dbc44bde5a4093.2
/usr/lib/.build-id/e7/a443541fb15507333a182ae5dbc44bde5a4093.3
/usr/lib/.build-id/e7/a443541fb15507333a182ae5dbc44bde5a4093.4
/usr/share/licenses/honggfuzz
/usr/share/licenses/honggfuzz/COPYING
/usr/bin/hfuzz-cc
/usr/bin/hfuzz-clang
/usr/bin/hfuzz-clang++
/usr/bin/hfuzz-g++
/usr/bin/hfuzz-gcc
/usr/bin/honggfuzz
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/19893b8436f6850afe498c79cf12b68d5bd15e
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/69035645ae7b4ea3820b9af48658bad850c19a
/usr/lib/.build-id/5a/69035645ae7b4ea3820b9af48658bad850c19a.1
/usr/lib/.build-id/5a/69035645ae7b4ea3820b9af48658bad850c19a.2
/usr/lib/.build-id/5a/69035645ae7b4ea3820b9af48658bad850c19a.3
/usr/lib/.build-id/5a/69035645ae7b4ea3820b9af48658bad850c19a.4
/usr/share/licenses/honggfuzz
/usr/share/licenses/honggfuzz/COPYING

References

Summary

In this tutorial we learn how to install honggfuzz on Fedora 34 using yum and dnf.