File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ construstor MyContract.sol
64
64
# Analyze ALL functions with address parameters
65
65
construstor MyContract.sol --all-functions
66
66
67
- # Output in JSON format (great for CI/CD)
67
+ # Output in JSON format
68
68
construstor MyContract.sol --json
69
69
70
70
# Show only summary statistics
@@ -258,29 +258,6 @@ This tool helps identify potential security vulnerabilities in smart contracts:
258
258
- ** Function Security** : With ` --all-functions ` , catch missing validations in all address-handling functions
259
259
- ** Array Validation** : Detect missing validations for address arrays that could contain zero addresses
260
260
261
- ## 🔧 CI/CD Integration
262
-
263
- The tool is designed for easy integration into continuous integration pipelines:
264
-
265
- ### GitHub Actions Example
266
-
267
- ``` yaml
268
- name : Smart Contract Security Check
269
- on : [push, pull_request]
270
-
271
- jobs :
272
- security-check :
273
- runs-on : ubuntu-latest
274
- steps :
275
- - uses : actions/checkout@v3
276
- - uses : dtolnay/rust-toolchain@stable
277
- - name : Install Construstor
278
- run : cargo install construstor
279
- - name : Run Security Analysis
280
- run : |
281
- construstor contracts/ --all-functions --json > analysis.json
282
- # Process results or fail if critical issues found
283
- ` ` `
284
261
285
262
### Exit Codes
286
263
You can’t perform that action at this time.
0 commit comments