-
Notifications
You must be signed in to change notification settings - Fork 42
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
Implement getenv
, putenv
etc.
#302
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PR #290 implemented a dummy version of
getenv
that simply always returnsNULL
, which simulates an empty collection of environment variables.We should instead provide a realistic implementation of
getenv
that, at a minimum, provides an immutable set of environment variables that can be provided during simulator setup.Ideally, we would also allow a full implementation of
setenv
, etc. However, doing this properly requires would require additional support for symbolic string values, and probably special support from the LLVM memory model for handling null-terminated symbolic strings.The text was updated successfully, but these errors were encountered: