You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: firstArgument.includes is not a function
at Hook.beforeHook [as hookFunction] (/app/node_modules/@jazzer.js/bug-detectors/internal/path-traversal.ts:136:22)
at module.<computed> (/app/node_modules/@jazzer.js/hooking/manager.ts:240:10)
at getSource (node:internal/modules/esm/load:38:20)
at ESMLoader.defaultLoad (node:internal/modules/esm/load:94:38)
at ESMLoader.load (node:internal/modules/esm/loader:342:43)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:207:22)
at new ModuleJob (node:internal/modules/esm/module_job:63:26)
at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:231:17)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:184:34)
it works normally on node 18 and 16
Minimal steps to reproduce:
FROM node:19
WORKDIR /app
RUN npm i --save-dev @jazzer.js/core
COPY test_fuzz.js package.json /app/
ENTRYPOINT ["npx", "jazzer", "./test_fuzz.js"]
{
"name": "test_fuzz",
"version": "1.0.0",
"description": "Examples of fuzz tests for Jazzer.js",
"type": "module"
}
/** * @param { Buffer } data */exportfunctionfuzz(data){letsum=data.toString();if(sum=="2"){throwError("asdasd");}}
The text was updated successfully, but these errors were encountered:
Jazzer gives the following error on node 19:
it works normally on node 18 and 16
Minimal steps to reproduce:
The text was updated successfully, but these errors were encountered: