Skip to content

Commit 7b36218

Browse files
committed
readme update
1 parent 3d0fd32 commit 7b36218

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ construstor MyContract.sol
6464
# Analyze ALL functions with address parameters
6565
construstor MyContract.sol --all-functions
6666

67-
# Output in JSON format (great for CI/CD)
67+
# Output in JSON format
6868
construstor MyContract.sol --json
6969

7070
# Show only summary statistics
@@ -258,29 +258,6 @@ This tool helps identify potential security vulnerabilities in smart contracts:
258258
- **Function Security**: With `--all-functions`, catch missing validations in all address-handling functions
259259
- **Array Validation**: Detect missing validations for address arrays that could contain zero addresses
260260

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-
```
284261

285262
### Exit Codes
286263

0 commit comments

Comments
 (0)