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

Address computation safety #713

Open
bernhardmgruber opened this issue Feb 22, 2023 · 0 comments
Open

Address computation safety #713

bernhardmgruber opened this issue Feb 22, 2023 · 0 comments

Comments

@bernhardmgruber
Copy link
Member

Since users can specify their own indexing type, address computations in LLAMA can easily overflow. We should provide better means to detect such overflows to make the use of the library safer. We could add more assertions in the LLAMA code and also evaluate the use of boost::safe<int>, which can detect bad behavior such as overflow.

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