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

Replace intc, bytec instructions with int and byte instructions #86

Open
S3v3ru5 opened this issue Aug 16, 2022 · 0 comments
Open

Replace intc, bytec instructions with int and byte instructions #86

S3v3ru5 opened this issue Aug 16, 2022 · 0 comments

Comments

@S3v3ru5
Copy link
Contributor

S3v3ru5 commented Aug 16, 2022

Teal allows declaring constants using intcblock which can be accessed later using intc {constant number} instruction. When detectors traverse the contract, they don't have access to integer value the intc refers to. This may result in False Positives as detectors can't reason about the values declared using intc. Same goes for bytecblock and bytec instructions.

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