mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 15:11:02 +00:00
llvm-context: disable call re-entrancy for send and transfer (#196)
This commit is contained in:
@@ -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