| ... | @@ -661,7 +661,7 @@ pub const StackIterator = struct { | ... | @@ -661,7 +661,7 @@ pub const StackIterator = struct { |
| 661 | | 661 | |
| 662 | fn isValidMemory(address: usize) bool { | 662 | fn isValidMemory(address: usize) bool { |
| 663 | // We are unable to determine validity of memory for freestanding targets | 663 | // We are unable to determine validity of memory for freestanding targets |
| 664 | if (native_os == .freestanding) return true; | 664 | if (native_os == .freestanding or native_os == .uefi) return true; |
| 665 | | 665 | |
| 666 | const aligned_address = address & ~@as(usize, @intCast((mem.page_size - 1))); | 666 | const aligned_address = address & ~@as(usize, @intCast((mem.page_size - 1))); |
| 667 | if (aligned_address == 0) return false; | 667 | if (aligned_address == 0) return false; |