mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-03 09:21:11 +00:00
llvm-context: disable call re-entrancy for send and transfer (#196)
This commit is contained in:
1 parent
10b8ff989c
commit
60fc09f787
8 files changed
+354
-35
No files matched your search
@@ -156,6 +156,20 @@ case!("DivisionArithmetics.sol", DivisionArithmetics, sdivCall, division_arithme
|
||||
case!("DivisionArithmetics.sol", DivisionArithmetics, modCall, division_arithmetics_mod, n: U256, d: U256);
|
||||
case!("DivisionArithmetics.sol", DivisionArithmetics, smodCall, division_arithmetics_smod, n: I256, d: I256);
|
||||
|
||||
sol!(
|
||||
contract Send {
|
||||
function transfer_self(uint _amount) public payable;
|
||||
}
|
||||
);
|
||||
case!("Send.sol", Send, transfer_selfCall, send_self, amount: U256);
|
||||
|
||||
sol!(
|
||||
contract Transfer {
|
||||
function transfer_self(uint _amount) public payable;
|
||||
}
|
||||
);
|
||||
case!("Transfer.sol", Transfer, transfer_selfCall, transfer_self, amount: U256);
|
||||
|
||||
sol!(
|
||||
contract MStore8 {
|
||||
function mStore8(uint value) public pure returns (uint256 word);
|
||||
|
||||
Reference in new issue
Block a user