cosmopolitan/libc/nt
Joshua Wierenga fea68b142e Fully support old windows 8ib user space virtual memory
Addresses are converted in blocks(asan, automap, stack, ...), with the start and end addresses modified using (address & 0xffffff) | ((address >> 28) << 24).

Following addresses are only specified to frame accuracy with the last 4 hex digits chopped off.
null, loader, image and arena blocks have not been modified.
asan     [0x00007fff, 0x10007fff] ⇒ [0x00007fff, 0x01007fff] Not currently supported.
automap  [0x10008004, 0x1fe7fffb] ⇒ [0x01008004, 0x01e7fffb]
_mmi     [0x1fe7fffc, 0x1ffffffb] ⇒ [0x01e7fffc, 0x01fffffb] Listed as memtrack outside of the memtrack files.
fixedmap [0x30000004, 0x40000003] ⇒ [0x03000004, 0x04000003]
nsync    [0x6fc00004, 0x6fcffffb] ⇒ [0x06c00004, 0x06cffffb]
zipos    [0x6fd00004, 0x6fdffffb] ⇒ [0x06d00004, 0x06dffffb] I don't think this is used currently on the vista branch.
g_fds    [0x6fe00004, 0x6feffffb] ⇒ [0x06e00004, 0x06effffb]
winargs  [0x6ffffffe, 0x6fffffff] ⇒ [0x06fffffe, 0x06ffffff] Not entirely confident on if this is accurate.
stack    [0x70000000, 0x70000003] ⇒ [0x07000000, 0x07000003] Not entirely confident on if this is accurate.

This map is documented in memtrack64-8tib.txt with the original 128tib version renamed to memtrack64-128tib.txt.

Modified windows 8.1 check macro name to match existing windows 10 one.
Modified IsShadowFrame to correctly identify the asan block on old windows. Required as the asan block on 128tib virtual memory systems is larger than 2^43 - 1 and so all blocks were reporting as asan.
2023-03-20 21:07:01 -04:00
..
advapi32 Remove ANSI WIN32 functions and undocumented ADVAPI32 2022-08-15 09:01:40 -07:00
comdlg32 Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
enum Polyfill statfs() and fstatfs() on Windows 2022-08-17 19:01:51 -07:00
gdi32 Unbloat the build 2022-08-11 00:15:29 -07:00
iphlpapi Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
kernel32 Fix POSIX advisory locks on Windows 2022-09-15 12:44:00 -07:00
MsWSock Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
nt Correct more typos (#500) 2022-07-21 20:53:30 -07:00
ntdll Unbloat the build 2022-08-11 00:15:29 -07:00
pdh Fix some win32 definitions 2022-03-22 19:54:36 -07:00
PowrProf Make more fixes and improvements 2022-04-21 13:44:59 -07:00
psapi Fix some win32 definitions 2022-03-22 19:54:36 -07:00
struct Polyfill statfs() and fstatfs() on Windows 2022-08-17 19:01:51 -07:00
thunk Make improvements 2022-04-24 10:06:05 -07:00
typedef Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
url Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
user32 Unbloat the build 2022-08-11 00:15:29 -07:00
ws2_32 Make fixes and improvements 2022-06-25 21:09:09 -07:00
accounting.h Make improvements 2022-05-28 00:28:09 -07:00
automation.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
codegen.h Make improvements 2020-12-01 03:43:40 -08:00
codegen.sh Rewrite recursive mutex code 2022-09-10 09:18:52 -07:00
comdlg.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
console.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
createfile.h Improve synchronization 2022-04-15 15:31:55 -07:00
debug.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
dll.h Make numerous improvements 2021-09-28 01:52:34 -07:00
efi.h Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
errors.h Make improvements 2022-04-24 10:06:05 -07:00
events.h Delete most undocumented New Technology APIs 2022-04-11 23:41:12 -07:00
files.h Polyfill statfs() and fstatfs() on Windows 2022-08-17 19:01:51 -07:00
iocp.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
ipc.h Improve synchronization 2022-04-15 15:31:55 -07:00
iphlpapi.h Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
master.sh Fix POSIX advisory locks on Windows 2022-09-15 12:44:00 -07:00
memory.h Get life.com in MODE=tiny back down to 12kb 2022-03-23 08:09:01 -07:00
messagebox.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt.mk Reduce build graph by another 14 percent 2022-08-17 20:01:21 -07:00
ntdll.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
ntdllimport.h Reduce build graph by another 14 percent 2022-08-17 20:01:21 -07:00
ntdllimport.S Pay off more technical debt 2023-03-20 21:07:01 -04:00
paint.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
pdh.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
pedef.internal.h Add UEFI support 2021-02-21 21:33:04 -08:00
privilege.h Fix some win32 definitions 2022-03-22 19:54:36 -07:00
process.h Make more compatibility improvements 2022-09-06 07:04:13 -07:00
registry.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
runtime.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
signals.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
startupinfo.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
synchronization.h Use *NSYNC for POSIX threads locking APIs 2022-09-11 11:04:50 -07:00
system.h Improve isystem includes and magic numbers 2021-08-14 23:36:36 -07:00
systeminfo.h Fix cosmopolitan.h for C++ 2021-02-01 04:04:44 -08:00
sysv2nt.s Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
thread.h Improve threading support further 2022-05-17 04:14:28 -07:00
version.h Fully support old windows 8ib user space virtual memory 2023-03-20 21:07:01 -04:00
windows.h Add ioctl(SIOCGIFxxx) support (#197) 2021-06-24 10:53:27 -07:00
winsock.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00