-
Notifications
You must be signed in to change notification settings - Fork 646
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
add a validator for aot module #3995
base: main
Are you sure you want to change the base?
Conversation
3597249
to
1d47fc5
Compare
1d47fc5
to
716fcb7
Compare
Maybe it's a good idea to use a macro to control the validation AOT, making users choose based on the actual scenario. By our original design, the aot file should be from a trusted source, so should we turn off validation by default? |
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
@@ -117,4 +116,3 @@ aot_create_perf_map(const AOTModule *module, char *error_buf, | |||
|
|||
return ret; | |||
} |
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.
} | |
} | |
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.
maybe add an empty line at the end of the file
It's a little odd. You can't see it, but if you open it locally or with github.dev, as in github.dev, you'll notice an empty line at the end of the file. |
Please refer to #3986 for more details.