recon-generate 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/info.js +3 -9
- package/package.json +4 -4
package/dist/info.js
CHANGED
|
@@ -874,17 +874,11 @@ const hasReceive = (contract) => {
|
|
|
874
874
|
* Check if a function contains a fuzzFromHere() call
|
|
875
875
|
*/
|
|
876
876
|
const hasFuzzFromHereCall = (fnDef) => {
|
|
877
|
-
|
|
878
|
-
const expr = call.vExpression;
|
|
879
|
-
if (expr instanceof solc_typed_ast_1.MemberAccess && expr.memberName === 'fuzzFromHere') {
|
|
880
|
-
return true;
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
return false;
|
|
877
|
+
return (0, utils_1.toSource)(fnDef).includes('fuzzFromHere');
|
|
884
878
|
};
|
|
885
879
|
/**
|
|
886
|
-
* Collect public/external functions that contain
|
|
887
|
-
* These functions should be excluded from fuzzing
|
|
880
|
+
* Collect public/external functions that contain fuzzFromHere() calls.
|
|
881
|
+
* These functions should be excluded from fuzzing.
|
|
888
882
|
*/
|
|
889
883
|
const collectExcludeFromFuzzing = (contract) => {
|
|
890
884
|
const exclude = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "recon-generate",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"description": "CLI to scaffold Recon fuzzing suite inside Foundry projects",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"@solidity-parser/parser": "^0.20.2",
|
|
24
24
|
"abi-to-mock": "^1.0.4",
|
|
25
25
|
"case": "^1.6.3",
|
|
26
|
-
"commander": "^14.0.
|
|
26
|
+
"commander": "^14.0.3",
|
|
27
27
|
"ethers": "^6.16.0",
|
|
28
28
|
"handlebars": "^4.7.8",
|
|
29
|
-
"solc-typed-ast": "^
|
|
29
|
+
"solc-typed-ast": "^20.0.2",
|
|
30
30
|
"src-location": "^1.1.0",
|
|
31
31
|
"yaml": "^2.8.2",
|
|
32
32
|
"z3-solver": "^4.15.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/node": "^
|
|
35
|
+
"@types/node": "^25.2.0",
|
|
36
36
|
"typescript": "^5.8.3"
|
|
37
37
|
}
|
|
38
38
|
}
|