winpty/misc
Ryan Prichard 7c12d90086 Get the tests running inside the WOW64 environment on pre-Win7 OSs
Prior to Windows 7, the undocumented NtQuerySystemInformation API did
not return valid handle information when called by a WOW64 process.  To
work around this problem, the 32-bit test program connects to a 64-bit
worker and uses the existing RPC mechanism, issuing LookupKernelObject
commands, which call NtQuerySystemInformation in a native 64-bit
environment.

Even on Windows 7, the NtQuerySystemInformation API returns truncated
kernel object pointers, so, AFAIK, we still need to do this work. Maybe
not, though, if the lower 32 bits are guaranteed to be unique.

On Windows 10, there is a CompareObjectHandles API that works in WOW64
mode.
2015-10-27 13:19:42 -05:00
..
buffer-tests Get the tests running inside the WOW64 environment on pre-Win7 OSs 2015-10-27 13:19:42 -05:00
.gitignore Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
BufferResizeTests.cc Rewrite resize logic, introduce "direct mode", and tweak scroll scraping. 2015-09-29 02:32:49 -05:00
build_win32.sh Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
ChangeScreenBuffer.cc Rewrite resize logic, introduce "direct mode", and tweak scroll scraping. 2015-09-29 02:32:49 -05:00
ClearConsole.cc Add a test program demonstrating how to clear (part of) the console buffer. 2015-08-23 23:13:20 -05:00
color-test.sh Add more line-overwriting tests to color-test.sh. 2015-10-15 17:51:00 -05:00
console-handles.md Document my theory for the CONOUT$ Win7 bug and add a safe-ish? testcase. 2015-10-26 17:39:04 -05:00
DebugClient.py Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
DebugServer.py Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
DumpLines.py Rewrite resize logic, introduce "direct mode", and tweak scroll scraping. 2015-09-29 02:32:49 -05:00
font-notes.md Add notes on fonts, code pages, and East Asian character widths 2015-10-10 19:25:20 -05:00
FormatChar.h Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
OSVersion.cc Add OSVersion utility 2015-10-19 23:27:00 -05:00
QueryFont.cc Add a new test program, QueryFont, and expand SetFont. 2015-10-09 17:42:18 -05:00
ScreenBufferTest2.cc Add tests of screen buffer handles. 2015-10-19 23:32:08 -05:00
ScreenBufferTest.cc Add tests of screen buffer handles. 2015-10-19 23:32:08 -05:00
SelectAllTest.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
SetCursorPos.cc Rewrite resize logic, introduce "direct mode", and tweak scroll scraping. 2015-09-29 02:32:49 -05:00
SetFont.cc Improve Unicode handling of SetFont arguments. 2015-10-09 18:52:20 -05:00
ShowArgv.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
ShowConsoleInput.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Spew.py Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
TestUtil.cc Add tests of screen buffer handles. 2015-10-19 23:32:08 -05:00
UnicodeDoubleWidthTest.cc Automatically test all three common fonts 2015-10-10 02:29:47 -05:00
UnicodeWideTest1.cc Convert UnicodeWideTest1.cc from CRLF to LF for consistency. 2015-10-12 04:33:40 -05:00
UnicodeWideTest2.cc Add more tests of full-width characters and rename one of the tests. 2015-10-11 22:44:22 -05:00
UnixEcho.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Utf16Echo.cc s/UnicodeTest1/Utf16Echo/ and output arbitrary UTF-16 codepoints. 2015-10-10 15:04:48 -05:00
VeryLargeRead.cc Allow col and row to be specified to VeryLargeRead.cc and add server OSs 2015-09-26 00:13:31 -05:00
VkEscapeTest.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Win10ResizeWhileFrozen.cc Expand on the Win10ResizeWhileFrozen comment. 2015-09-24 23:58:28 -07:00
Win10WrapTest1.cc Add a few more experiments 2015-08-22 20:56:24 -07:00
Win10WrapTest2.cc Rewrite resize logic, introduce "direct mode", and tweak scroll scraping. 2015-09-29 02:32:49 -05:00
Win32Echo1.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Win32Echo2.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Win32Test1.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Win32Test2.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Win32Test3.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00
Win32Write1.cc Rename Shared to shared and Misc to misc. 2012-04-01 02:13:21 -07:00