Skip to content

Commit

Permalink
todoruleid: -> proruleid: for solidity test
Browse files Browse the repository at this point in the history
test plan:
osemgrep test --pro solidity
  • Loading branch information
aryx committed Oct 7, 2024
1 parent 5aa4f20 commit 6b4a421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solidity/security/delegatecall-to-arbitrary-address.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ contract Test{
}

function sink(address _contract, uint256 _num) internal {
// intraprocedural tainting does not work for now...
// todoruleid: delegatecall-to-arbitrary-address
// this requires intraprocedural tainting (--pro-intrafile)
// proruleid: delegatecall-to-arbitrary-address
(bool success, bytes memory data) = _contract.delegatecall(
abi.encodeWithSignature("setVars(uint256)", _num)
);
Expand Down

0 comments on commit 6b4a421

Please sign in to comment.