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

Supress loading of malicious class without exiting the program #144

Open
algomaster99 opened this issue Feb 14, 2024 · 2 comments
Open

Supress loading of malicious class without exiting the program #144

algomaster99 opened this issue Feb 14, 2024 · 2 comments
Assignees

Comments

@algomaster99
Copy link
Member

Right now, we call System.exit when we are loading a class that does not belong to the index. This results in exiting the program. However, this is not a good approach for applications running on cloud.

I propose that instead of calling System.exit, we rewrite the bytecode so that it simply logs it to STDOUT. This way we don't exit the program and continue the execution.

@algomaster99
Copy link
Member Author

REVERT opcode in EVM bytecode is also a good idea. It resets the state until the last checkpoint.

@algomaster99
Copy link
Member Author

algomaster99 commented Apr 1, 2024

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

3 participants
@algomaster99 @LogFlames and others