Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Revert Statement #8

Open
elizabethdinella opened this issue May 19, 2022 · 0 comments
Open

Unsupported Revert Statement #8

elizabethdinella opened this issue May 19, 2022 · 0 comments

Comments

@elizabethdinella
Copy link

Hi,

I am trying to run SmarTest on contracts that use the ERC721A library.
The library contains a revert statement which I believe is causing a crash.

Example of such a revert statement:
https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol#L166

Command I am running (solidity version 0.8.4):

./main.native -input ../solidity-flattener/out/DeadMansHeadClub_flat.sol -mode 
exploit -exploit_timeout 60 -main DeadMansHeadClub
[CHECKER] Integer Over/Underflows
[CHECKER] Division-by-zero
[CHECKER] Suicidal
[CHECKER] Ether-Leaking

Failure("Unsupported: trans_statement - RevertStatement : line 744")
Raised at file "string.ml", line 114, characters 19-34
Called from file "string.ml", line 176, characters 15-34

Why is this revert statement not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant