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

Ability to set the code to execute on a failed bounds check. #604

Open
kdoherty2 opened this issue Oct 12, 2018 · 2 comments
Open

Ability to set the code to execute on a failed bounds check. #604

kdoherty2 opened this issue Oct 12, 2018 · 2 comments

Comments

@kdoherty2
Copy link

Be able to set the code to execute on a failed bounds check.
eg. assert() so a fail would call abort().

@mjpt777
Copy link
Contributor

mjpt777 commented Nov 9, 2018

Can you provide a worked example of how this would be setup and function? Would it be a macro to be inserted that would default to a noop?

@VSol-ll
Copy link

VSol-ll commented Nov 12, 2018

Yes, I was thinking about macro (or some alternative way to provide a piece of code to SBE Tool to inject).
I would say the default behavior should be the same as current (currently it throws, right?).

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

No branches or pull requests

4 participants