fuzzer

package
v0.0.0-...-8c53acf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GuideTowardsContainment

func GuideTowardsContainment(haystack, needle string, fakePC int)

GuideTowardsContainment instructs the libFuzzer to guide its mutations towards making haystack contain needle as a substring. fakePC serves as an ID to identify the call sites of this function.

If the relation between the raw fuzzer input and the value of haystack is relatively complex, running the fuzzer with the argument `-use_value_profile=1` may be necessary to satisfy the substring check.

func GuideTowardsEquality

func GuideTowardsEquality(s1, s2 string, fakePC int)

GuideTowardsEquality instructs the libFuzzer to guide its mutations towards making current equal to target. fakePC serves as an ID to identify the call sites of this function.

If the relation between the raw fuzzer input and the value of current is relatively complex, running the fuzzer with the argument `-use_value_profile=1` may be necessary to achieve equality.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL