-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more error checking for memory mappings
This patch checks that a memory mapping is not at a virtual address that is greater than the maximum virtual address. Signed-off-by: Ivan Velickovic <[email protected]>
- Loading branch information
1 parent
306109b
commit 5ccd008
Showing
5 changed files
with
80 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright 2021, Breakaway Consulting Pty. Ltd. | ||
SPDX-License-Identifier: BSD-2-Clause | ||
--> | ||
<system> | ||
<memory_region name="foo" size="0x1_000" /> | ||
<protection_domain name="test1"> | ||
<program_image path="test" /> | ||
<!-- This number is 2^60. --> | ||
<map mr="foo" vaddr="0x1000000000000000" /> | ||
</protection_domain> | ||
</system> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters