Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cybergenik/hopper
/ functions
Functions
80 in github.com/Cybergenik/hopper
⨍
Functions
80
◇
Types & classes
16
↓ 5 callers
Method
addSeed
addSeed is by design blocking, we want to block the production of new seeds until there is enough space in the Queue
master/master.go:245
↓ 4 callers
Method
Len
()
master/pq.go:23
↓ 4 callers
Method
Push
Changed to keep a fixed size PQ
master/pq.go:35
↓ 4 callers
Method
location
location returns the ith hashed location using the four base hash values
master/bloomfilter.go:95
↓ 3 callers
Method
Sum128
sum128 computers two 64-bit hash value. It is assumed that bmix was first called on the data to process complete blocks of 16 bytes. The 'tail' is a s
common/murmur.go:102
↓ 3 callers
Method
killed
()
master/master.go:127
↓ 2 callers
Method
Contains
Contains returns true if the data is in the BloomFilter, false otherwise. If true, the result might be a false positive. If false, the data is definit
master/bloomfilter.go:132
↓ 2 callers
Method
Init
()
tui/tui.go:61
↓ 2 callers
Function
NewWithEstimates
NewWithEstimates creates a new Bloom filter for about n items with fp false positive rate
master/bloomfilter.go:110
↓ 2 callers
Method
Pop
()
master/pq.go:61
↓ 2 callers
Method
Report
()
master/master.go:83
↓ 2 callers
Method
Stats
()
master/master.go:108
↓ 2 callers
Method
bmix_words
bmix_words will hash two 64-bit words (16 bytes)
common/murmur.go:72
↓ 2 callers
Method
call
(rpcname string, args interface{}, reply interface{})
node/node.go:215
↓ 2 callers
Function
fmix64
(k uint64)
common/murmur.go:239
↓ 2 callers
Function
host_arch_target
Converts the host architecture to the first part of a target triple :return: Target host
examples/binutils/build-binutils.py:155
↓ 2 callers
Function
host_is_target
Checks if the current target triple the same as the host. :param target: Triple to match host architecture against :return: True if host
examples/binutils/build-binutils.py:179
↓ 2 callers
Method
killed
()
node/node.go:52
↓ 2 callers
Function
max
(x, y uint)
master/bloomfilter.go:75
↓ 2 callers
Function
target_arch
Returns the architecture from a target triple :param target: Triple to deduce architecture from :return: Architecture associated with giv
examples/binutils/build-binutils.py:170
↓ 2 callers
Function
tickStats
()
tui/tui.go:52
↓ 2 callers
Method
updateFTask
Returns Bool : True if Master wants to Log crash
node/node.go:44
↓ 1 callers
Method
Add
Add data to the Bloom Filter. Returns the filter (allows chaining)
master/bloomfilter.go:116
↓ 1 callers
Method
AddHash
(h c.BFHash)
master/bloomfilter.go:123
↓ 1 callers
Method
ContainsHash
(h c.BFHash)
master/bloomfilter.go:142
↓ 1 callers
Function
EstimateParameters
EstimateParameters estimates requirements for m and k. Based on https://bitbucket.org/ww/bloom/src/829aa19d01d9/bloom.go used with permission.
master/bloomfilter.go:102
↓ 1 callers
Function
GetCoverage
(pid int)
node/utils.go:45
↓ 1 callers
Function
InitModel
(ctx context.Context, cancel context.CancelFunc, master *h.Hopper)
tui/tui.go:146
↓ 1 callers
Function
Mutator
(b []byte, havoc uint64)
master/mut.go:42
↓ 1 callers
Function
New
New creates a new Bloom filter with _m_ bits and _k_ hashing functions We force _m_ and _k_ to be at least one to avoid panics.
master/bloomfilter.go:84
↓ 1 callers
Function
ParseAsan
(asan string)
node/utils.go:17
↓ 1 callers
Function
PersistCrash
(seed []byte, asan bytes.Buffer, crashN uint64, outDir string)
node/utils.go:28
↓ 1 callers
Method
Sum256
sum256 will compute 4 64-bit hash values from the input. It is designed to never allocate memory on the heap. So it works without any byte buffer what
common/murmur.go:261
↓ 1 callers
Method
bmix
bmix will hash blocks (16 bytes)
common/murmur.go:62
↓ 1 callers
Function
build_targets
Builds binutils for all specified targets :param binutils_folder: Binutils source folder :param build: Build directory :param install
examples/binutils/build-binutils.py:401
↓ 1 callers
Function
cleanup
Cleanup the build directory :param build_folder: Build directory
examples/binutils/build-binutils.py:283
↓ 1 callers
Function
create_gitignore
Create a gitignore that ignores all files in a folder. Some folders are not known until the script is run so they can't be added to the root
examples/binutils/build-binutils.py:27
↓ 1 callers
Function
create_targets
Generate a list of targets that can be passed to the binutils compile function :param targets: A list of targets to convert to binutils targe
examples/binutils/build-binutils.py:251
↓ 1 callers
Function
download_binutils
Downloads the latest stable version of binutils :param folder: Directory to download binutils to
examples/binutils/build-binutils.py:97
↓ 1 callers
Method
energyMutate
(seed c.SeedInfo, maxEdges uint64)
master/master.go:224
↓ 1 callers
Function
flush_std_err_out
()
examples/binutils/build-binutils.py:76
↓ 1 callers
Method
fuzz
(t c.FTask)
node/node.go:61
↓ 1 callers
Method
getFTask
()
node/node.go:32
↓ 1 callers
Function
get_duration
Formats a duration in days, hours, minutes, and seconds. :param start_seconds: The start of the duration :param end_seconds: The end of t
examples/binutils/build-binutils.py:51
↓ 1 callers
Function
initTUI
(ctx context.Context, master *m.Hopper)
cmd/hopper-master/main.go:48
↓ 1 callers
Function
invoke_configure
Invokes the configure script to generate a Makefile :param binutils_folder: Binutils source folder :param build_folder: Build directory
examples/binutils/build-binutils.py:293
↓ 1 callers
Function
invoke_make
Invoke make to compile binutils :param build_folder: Build directory :param install_folder: Directory to install binutils to :param t
examples/binutils/build-binutils.py:382
↓ 1 callers
Function
libc_is_musl
Returns whether or not the current libc is musl or not.
examples/binutils/build-binutils.py:35
↓ 1 callers
Function
location
location returns the ith hashed location using the four base hash values
master/bloomfilter.go:89
↓ 1 callers
Method
logger
()
master/master.go:273
↓ 1 callers
Function
main
()
examples/binutils/build-binutils.py:419
↓ 1 callers
Method
mutGenerator
()
master/master.go:194
↓ 1 callers
Function
parse
examples/parse/getdomain.c:9
↓ 1 callers
Function
parse_parameters
Parses parameters passed to the script into options :param root_folder: The directory where the script is being invoked from :return: A '
examples/binutils/build-binutils.py:188
↓ 1 callers
Function
printHelp
()
cmd/hopper-master/main.go:17
↓ 1 callers
Function
printHelp
()
cmd/hopper-node/main.go:15
↓ 1 callers
Function
print_domain
examples/parse/getdomain.c:5
↓ 1 callers
Function
print_header
Prints a fancy header :param string: String to print inside the header
examples/binutils/build-binutils.py:80
↓ 1 callers
Function
readCorpus
(path string)
cmd/hopper-master/main.go:58
↓ 1 callers
Method
rpcServer
()
master/master.go:259
↓ 1 callers
Method
taskGenerator
(taskQ chan c.FTask)
node/node.go:144
↓ 1 callers
Function
unsafe_assign
examples/unsafe/unsafe_assign.c:1
↓ 1 callers
Function
verify_binutils_checksum
(file_to_check)
examples/binutils/build-binutils.py:128
Function
BloomHash
baseHashes returns the four hash values of data that are used to create k hashes
common/common.go:19
Method
GetFTask
(args *c.FTaskArgs, task *c.FTask)
master/master.go:136
Function
Hash
(b []byte)
common/common.go:12
Function
InitHopper
(ctx context.Context, havocN uint64, port int, mutf func([]byte, uint64) []byte, corpus [][]byte)
master/master.go:299
Method
Less
Max heap
master/pq.go:26
Function
Node
(ctx context.Context, id uint64, target string, args string, raw bool, env string, stdin bool, master string)
node/node.go:155
Method
Swap
(i, j int)
master/pq.go:28
Method
Update
(msg tea.Msg)
tui/tui.go:66
Method
UpdateFTask
(update *c.UpdateFTask, reply *c.UpdateReply)
master/master.go:146
Method
View
()
tui/tui.go:93
Function
loadMutEngine
(filename string)
cmd/hopper-master/main.go:103
Function
main
()
cmd/hopper-master/main.go:74
Function
main
()
cmd/hopper-node/main.go:54
Function
main
examples/parse/getdomain.c:36
Function
main
examples/unsafe/unsafe_assign.c:11
Function
main
This example creates a PriorityQueue with some items, adds and manipulates an item, and then removes the items in priority order.
master/pq.go:73
Function
main_
()
master/mut.go:23