DynamoRIO / DynamoRIO/dynamorio
Handling dynamic generated code in hybrid execution
Open
Migrated
Priority-High
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on January 13, 2014 10:17:30_
Current hybrid execution does not handle dynamically generated code well.
If a native module generates some code in a heap and executing the generated code, e.g., v8, the memory holding the generated code will be marked as no-writable for cache consistency. Later if the native module updates the generated code, e.g., add new code into the same page, it will cause a page fault, which is not handled and crash the process.
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1348_
Contributor guide
Assessment
This issue has not been assessed yet.