Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <[email protected]>
  • Loading branch information
fenollp committed Jul 23, 2024
1 parent 62edac7 commit 9bcfb53
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fix_when_no_monkey.shell
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
12:19:27.590515 reset.go:98: [NFO] re-initialized model state
12:19:27.590530 reset.go:55: [ERR] ExecReset: no resetter selected
12:19:27.590546 chans_bidi.go:118: [DBG] sending *fm.Clt_ResetProgress_...
12:19:27.590644 chans_bidi.go:120: [DBG] sent! (err: <nil>)
12:19:27.590672 fuzz.go:141: [NFO] handled *fm.Srv_Reset_
12:19:27.590684 fuzz.go:86: [DBG] receiving msg...
12:19:27.594708 chans_bidi.go:96: [DBG] received *fm.Srv_FuzzingResult_
12:19:27.594812 chans_bidi.go:92: [DBG] received err: EOF
12:19:27.594889 progress.go:61: [DBG] srvprogress: failure:true total_tests_count:1
12:19:27.594944 fuzz.go:117: [NFO] handling *fm.Srv_FuzzingResult_
17 changes: 17 additions & 0 deletions fix_when_zero_intensity
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
12:22:48.579042 fuzz.go:64: [DBG] sending initial msg
12:22:48.579234 chans_bidi.go:118: [DBG] sending *fm.Clt_Fuzz_...
12:22:48.580240 chans_bidi.go:120: [DBG] sent! (err: <nil>)
12:22:48.580267 fuzz.go:86: [DBG] receiving msg...
12:22:48.586204 chans_bidi.go:92: [DBG] received err: rpc error: code = Unknown desc = unexpected data from Monkey
12:22:48.586214 chans_bidi.go:94: [NFO] terminated rcv-er of Srv
12:22:48.586219 fuzz.go:89: [ERR] rpc error: code = Unknown desc = unexpected data from Monkey
12:22:48.586224 fuzz.go:162: [NFO] ran tests:0 calls:0 checks:0
12:22:48.586238 chans_bidi.go:131: [NFO] Close()-ing ChBiDi...
12:22:48.586252 main.go:235: [ERR] rpc error: code = Unknown desc = unexpected data from Monkey
12:22:48.586276 chans_bidi.go:110: [ERR] context canceled
12:22:48.586281 reset.go:24: [NFO] terminating resetter
12:22:48.586325 main.go:86: [ERR] (not an error) ran for 40.175541ms

monkey fuzz --intensity=0

should end cleanly
14 changes: 14 additions & 0 deletions notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
MNK periodical concurrent `nc -v …`
MNK https://github.com/microsoft/restler-fuzzer/blob/main/docs/user-guide/QuickStart.md
MNK drop custom auth bearer thing. Use func that can modify headers

MNK: add/rewrite headers and rest of request in before_request()
Disallow state mutation for now tho

https://pkg.go.dev/net/http#Header
https://cs.opensource.google/go/go/+/refs/tags/go1.21.1:src/net/http/header.go;l=24
https://pkg.go.dev/net/textproto#MIMEHeader
https://pkg.go.dev/go.starlark.net/starlark#Mapping
https://github.com/google/starlark-go/blob/745481cf39ed/starlark/value.go#L950

https://github.com/FuzzyMonkeyCo/monkey/compare/befreq?expand=1

0 comments on commit 9bcfb53

Please sign in to comment.