Download FuzzedDataProvider.js from amos-fernandes/DeepFin: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/amos-fernandes/DeepFin/resolve/main/FuzzedDataProvider.js
- Command line
-
hf download hf://amos-fernandes/DeepFin/FuzzedDataProvider.js
-
curl -L -o FuzzedDataProvider.js https://huggingface.co/amos-fernandes/DeepFin/resolve/main/FuzzedDataProvider.js
384 Bytes
| const { FuzzedDataProvider } = require('fuzzing-tools'); | |
| function fuzzTest(data) { | |
| const fuzz = new FuzzedDataProvider(data); | |
| const amount = fuzz.consumeNumber(); | |
| const recipient = fuzz.consumeAddress(); | |
| try { | |
| token.transfer(recipient, amount); | |
| } catch (error) { | |
| // Registrar e analisar erros | |
| } | |
| } | |
| module.exports = { fuzzTest }; |