MCPcopy Create free account

hub / github.com/Cybergenik/hopper / functions

Functions80 in github.com/Cybergenik/hopper

↓ 5 callersMethodaddSeed
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 callersMethodLen
()
master/pq.go:23
↓ 4 callersMethodPush
Changed to keep a fixed size PQ
master/pq.go:35
↓ 4 callersMethodlocation
location returns the ith hashed location using the four base hash values
master/bloomfilter.go:95
↓ 3 callersMethodSum128
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 callersMethodkilled
()
master/master.go:127
↓ 2 callersMethodContains
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 callersMethodInit
()
tui/tui.go:61
↓ 2 callersFunctionNewWithEstimates
NewWithEstimates creates a new Bloom filter for about n items with fp false positive rate
master/bloomfilter.go:110
↓ 2 callersMethodPop
()
master/pq.go:61
↓ 2 callersMethodReport
()
master/master.go:83
↓ 2 callersMethodStats
()
master/master.go:108
↓ 2 callersMethodbmix_words
bmix_words will hash two 64-bit words (16 bytes)
common/murmur.go:72
↓ 2 callersMethodcall
(rpcname string, args interface{}, reply interface{})
node/node.go:215
↓ 2 callersFunctionfmix64
(k uint64)
common/murmur.go:239
↓ 2 callersFunctionhost_arch_target
Converts the host architecture to the first part of a target triple :return: Target host
examples/binutils/build-binutils.py:155
↓ 2 callersFunctionhost_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 callersMethodkilled
()
node/node.go:52
↓ 2 callersFunctionmax
(x, y uint)
master/bloomfilter.go:75
↓ 2 callersFunctiontarget_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 callersFunctiontickStats
()
tui/tui.go:52
↓ 2 callersMethodupdateFTask
Returns Bool : True if Master wants to Log crash
node/node.go:44
↓ 1 callersMethodAdd
Add data to the Bloom Filter. Returns the filter (allows chaining)
master/bloomfilter.go:116
↓ 1 callersMethodAddHash
(h c.BFHash)
master/bloomfilter.go:123
↓ 1 callersMethodContainsHash
(h c.BFHash)
master/bloomfilter.go:142
↓ 1 callersFunctionEstimateParameters
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 callersFunctionGetCoverage
(pid int)
node/utils.go:45
↓ 1 callersFunctionInitModel
(ctx context.Context, cancel context.CancelFunc, master *h.Hopper)
tui/tui.go:146
↓ 1 callersFunctionMutator
(b []byte, havoc uint64)
master/mut.go:42
↓ 1 callersFunctionNew
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 callersFunctionParseAsan
(asan string)
node/utils.go:17
↓ 1 callersFunctionPersistCrash
(seed []byte, asan bytes.Buffer, crashN uint64, outDir string)
node/utils.go:28
↓ 1 callersMethodSum256
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 callersMethodbmix
bmix will hash blocks (16 bytes)
common/murmur.go:62
↓ 1 callersFunctionbuild_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 callersFunctioncleanup
Cleanup the build directory :param build_folder: Build directory
examples/binutils/build-binutils.py:283
↓ 1 callersFunctioncreate_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 callersFunctioncreate_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 callersFunctiondownload_binutils
Downloads the latest stable version of binutils :param folder: Directory to download binutils to
examples/binutils/build-binutils.py:97
↓ 1 callersMethodenergyMutate
(seed c.SeedInfo, maxEdges uint64)
master/master.go:224
↓ 1 callersFunctionflush_std_err_out
()
examples/binutils/build-binutils.py:76
↓ 1 callersMethodfuzz
(t c.FTask)
node/node.go:61
↓ 1 callersMethodgetFTask
()
node/node.go:32
↓ 1 callersFunctionget_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 callersFunctioninitTUI
(ctx context.Context, master *m.Hopper)
cmd/hopper-master/main.go:48
↓ 1 callersFunctioninvoke_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 callersFunctioninvoke_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 callersFunctionlibc_is_musl
Returns whether or not the current libc is musl or not.
examples/binutils/build-binutils.py:35
↓ 1 callersFunctionlocation
location returns the ith hashed location using the four base hash values
master/bloomfilter.go:89
↓ 1 callersMethodlogger
()
master/master.go:273
↓ 1 callersFunctionmain
()
examples/binutils/build-binutils.py:419
↓ 1 callersMethodmutGenerator
()
master/master.go:194
↓ 1 callersFunctionparse
examples/parse/getdomain.c:9
↓ 1 callersFunctionparse_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 callersFunctionprintHelp
()
cmd/hopper-master/main.go:17
↓ 1 callersFunctionprintHelp
()
cmd/hopper-node/main.go:15
↓ 1 callersFunctionprint_domain
examples/parse/getdomain.c:5
↓ 1 callersFunctionprint_header
Prints a fancy header :param string: String to print inside the header
examples/binutils/build-binutils.py:80
↓ 1 callersFunctionreadCorpus
(path string)
cmd/hopper-master/main.go:58
↓ 1 callersMethodrpcServer
()
master/master.go:259
↓ 1 callersMethodtaskGenerator
(taskQ chan c.FTask)
node/node.go:144
↓ 1 callersFunctionunsafe_assign
examples/unsafe/unsafe_assign.c:1
↓ 1 callersFunctionverify_binutils_checksum
(file_to_check)
examples/binutils/build-binutils.py:128
FunctionBloomHash
baseHashes returns the four hash values of data that are used to create k hashes
common/common.go:19
MethodGetFTask
(args *c.FTaskArgs, task *c.FTask)
master/master.go:136
FunctionHash
(b []byte)
common/common.go:12
FunctionInitHopper
(ctx context.Context, havocN uint64, port int, mutf func([]byte, uint64) []byte, corpus [][]byte)
master/master.go:299
MethodLess
Max heap
master/pq.go:26
FunctionNode
(ctx context.Context, id uint64, target string, args string, raw bool, env string, stdin bool, master string)
node/node.go:155
MethodSwap
(i, j int)
master/pq.go:28
MethodUpdate
(msg tea.Msg)
tui/tui.go:66
MethodUpdateFTask
(update *c.UpdateFTask, reply *c.UpdateReply)
master/master.go:146
MethodView
()
tui/tui.go:93
FunctionloadMutEngine
(filename string)
cmd/hopper-master/main.go:103
Functionmain
()
cmd/hopper-master/main.go:74
Functionmain
()
cmd/hopper-node/main.go:54
Functionmain
examples/parse/getdomain.c:36
Functionmain
examples/unsafe/unsafe_assign.c:11
Functionmain
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
Functionmain_
()
master/mut.go:23