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

c2: make the global state API configurable for externally defined get/set functions #83

Merged
merged 1 commit into from
Aug 24, 2020

Conversation

julienfreche
Copy link
Contributor

This change builds up on my previous change that added the ability to intercept read and writes to variables in the sail_state. I made this feature configurable via the json configuration file. external_state_api accepts a list of regex that can be used to select which get/set functions will get a body and which will only get a declaration (externally provided).

That way users can decide to instruments read to GPR only for example. Or only to TTBRX registers, etc..

@Alasdair Alasdair merged commit 115d8e8 into rems-project:sail2 Aug 24, 2020
@julienfreche
Copy link
Contributor Author

Thank you!

@Alasdair
Copy link
Collaborator

No problem, thank you for the PR!

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

Successfully merging this pull request may close these issues.

2 participants