-
Notifications
You must be signed in to change notification settings - Fork 627
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
wamr-python: Enable debugging WASM and grant dir access #2449
Conversation
f6be064
to
30b59e3
Compare
class ExecEnv: | ||
def __init__(self, module_inst: Instance, stack_size: int = 65536): | ||
def __init__(self, module_inst: Instance | None = None, stack_size: int = 65536): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure module_inst
is None
able. It should be quite critical. Please make more tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e224b30
to
d56e0e1
Compare
d56e0e1
to
8e4e4e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ance#2449) - Enable debugging a WASM loaded and executed from Python. - Expose API to enable access to list of host directories. Similar to --dir in iwasm. - Add another python language binding sample: native-symbol.
Enables debugging a WASM loaded and executed from Python.
Exposes API to enable access to list of host directories. Similar to
--dir
iniwasm
.