Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance memory management and validation in runtime
- Added null checks for Region and memory data to prevent runtime errors. - Improved validation logic in Region.Validate to include checks for zero capacity and alignment. - Updated readMemory and writeMemory functions to ensure proper alignment and bounds checking. - Refactored input data handling in WazeroRuntime to validate and write environment, info, and message data with proper alignment. - Enhanced error reporting for memory operations and JSON validation to improve debugging capabilities.
- Loading branch information