Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
Detective payload matching
Browse files Browse the repository at this point in the history
  • Loading branch information
blinktag committed Dec 6, 2023
1 parent c45bd30 commit edf7634
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 7 deletions.
Binary file added assets/wasm/detective_0_0_13.wasm
Binary file not shown.
Binary file added assets/wasm/httprequest_0_0_13.wasm
Binary file not shown.
Binary file added assets/wasm/inferschema_0_0_13.wasm
Binary file not shown.
Binary file added assets/wasm/kv_0_0_13.wasm
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added assets/wasm/transform_0_0_13.wasm
Binary file not shown.
Binary file added assets/wasm/validjson_0_0_13.wasm
Binary file not shown.
12 changes: 6 additions & 6 deletions wasm/wasm.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ type Mapping struct {
var (
Config = map[string]Mapping{
"detective": {
Filename: "detective_0_0_12.wasm",
Filename: "detective_0_0_13.wasm",
FuncName: "f",
},
"transform": {
Filename: "transform_0_0_12.wasm",
Filename: "transform_0_0_13.wasm",
FuncName: "f",
},
"httprequest": {
Filename: "httprequest_0_0_12.wasm",
Filename: "httprequest_0_0_13.wasm",
FuncName: "f",
},
"kv": {
Filename: "kv_0_0_12.wasm",
Filename: "kv_0_0_13.wasm",
FuncName: "f",
},
"inferschema": {
Filename: "inferschema_0_0_12.wasm",
Filename: "inferschema_0_0_13.wasm",
FuncName: "f",
},
"validjson": {
Filename: "validjson_0_0_12.wasm",
Filename: "validjson_0_0_13.wasm",
FuncName: "f",
},
}
Expand Down
2 changes: 1 addition & 1 deletion wasm/wasm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestLoad(t *testing.T) {
}

func TestDeterminativeUUID(t *testing.T) {
fileData, err := os.ReadFile("../assets/wasm/detective_0_0_12.wasm")
fileData, err := os.ReadFile("../assets/wasm/detective_0_0_13.wasm")
if err != nil {
t.Errorf("unable to read file: %s", err)
}
Expand Down

0 comments on commit edf7634

Please sign in to comment.