Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre Julliard e003b9884e ntdll: Use wcslen() instead of strlenW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 285c5490a4 ntdll: Use wcsrchr() instead of strrchrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 6de0ab276b ntdll: Use wcschr() instead of strchrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 18411a19b4 ntdll: Use wcscpy() instead of strcpyW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 0d3ba59e13 ntdll: Use the ascii_to_unicode() helper to compare relay module names.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Alexandre Julliard f831b3bd3d ntdll: Use wcsnicmp() instead of strncmpiW() where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Alexandre Julliard 3e049b6b96 ntdll: Use wcsicmp() instead of strcmpiW() where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Alexandre Julliard b96d15e1b0 ntdll: Add .seh annotations for x86_64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 11:56:13 +02:00
Alexandre Julliard 6c41cc6152 winebuild: Support relay debugging for PE builtin dlls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:50 +02:00
Alexandre Julliard 170bd8f361 include: Pass function name directly to the __ASM_STDCALL macro.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Piotr Caban 3588e5abd4 ntdll: Use _stricmp instead of strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:20 +01:00
Alexandre Julliard 9c9efd7068 ntdll: Support relay debugging of fastcall entry points.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 23:01:31 +01:00
Michael Stefaniuc 10f23ddb58 ntdll: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Alexandre Julliard dfde119538 ntdll: Fix extra comma in x86_64 relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 14:13:05 -06:00
Alexandre Julliard 3e26caf0d8 ntdll: Avoid the strd ARM instruction.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-17 09:35:12 +01:00
Alexandre Julliard 5e3534ee41 ntdll: Fix handling of floating point arguments in relay debugging on ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 13:50:55 +01:00
Alexandre Julliard 8c1bb2aa61 ntdll: Display floating point arguments in relay debugging on i386 and x86-64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 11:14:02 +01:00
Alexandre Julliard 74b50e27e1 ntdll: Fix stack alignment in relay calls on ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:24 +01:00
Alexandre Julliard 822e142403 ntdll: Support magic \1 prefix in debug format for relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-25 12:05:40 +01:00
Alexandre Julliard ca20bddefc ntdll: Remove support for relay debugging of register functions.
The only remaining ones in krnl386 have been removed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-26 10:41:27 +02:00
Alexandre Julliard 38d45cbcc8 ntdll: Mark function that are only called from assembly as hidden.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:48:24 +02:00
Alexandre Julliard 143143ad00 ntdll: Add small assembly wrappers for snooping instead of saving/restoring the entire context.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:18:45 +02:00
André Hentschel 58d527ef93 ntdll: Add support for relay debugging on ARM64.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 10:56:58 +02:00
Dmitry Timoshkov 6262cc325f ntdll: Return from snoop tracing helpers earlier if tracing is disabled.
This allows turning off and on snooping from task manager.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:36 +09:00
Dmitry Timoshkov 451156b4fa ntdll: Print process id in the relay log if requested.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-01 23:08:12 +09:00
Josh DuBois 44182ffb5b ntdll: Avoid movs between rcx, rdx and xmm registers.
Apple's version of as chokes on movs between rcx and rdx and the xmm
registers.
2015-05-06 20:44:58 +09:00
Alexandre Julliard 3d83da047a ntdll: Use a RunOnce function to initialize relay debugging options. 2013-08-29 19:56:18 +02:00
Alexandre Julliard 45a2cf1e22 ntdll: Reimplement the x86_64 relay entry point in assembler. 2013-05-23 19:03:01 +02:00
Alexandre Julliard fb75238f7e ntdll: Reimplement the i386 relay entry point in assembler. 2013-05-23 19:03:01 +02:00
Alexandre Julliard f4e58868d4 ntdll: Make the entire relay entry point routine CPU-specific. 2013-05-23 19:03:00 +02:00
André Hentschel b6fdba7873 ntdll: Hint that call_entry_point is ARM assembler. 2013-04-05 11:57:52 +02:00
André Hentschel 242da67082 ntdll: Correctly align the stack for odd numbers of arguments in relay traces on ARM. 2013-02-19 10:39:03 +01:00
André Hentschel 1ceec8c789 ntdll: Add support for relay debugging on ARM. 2012-07-16 14:29:12 +02:00
André Hentschel 2741edb998 ntdll: Declare debug channel only when used. 2011-11-07 11:30:38 +01:00
Marcus Meissner 9ed15fbf14 ntdll: Avoid shadowing "p" variable. 2011-10-20 13:20:44 +02:00
Bernhard Loos 23e1777054 ntdll: Provide a timestamp debug channel, which prints a millisecond resolution timestamp in front of debug output. 2011-09-01 18:06:39 +02:00
Alexandre Julliard b41cc4865c ntdll: Get rid of support for register entry points on x86_64. 2011-01-27 14:12:41 +01:00
Alexandre Julliard 085d398302 ntdll: Avoid using the CONTEXT86 type. 2010-10-20 18:37:07 +02:00
Alexandre Julliard 7c9b525128 winebuild: Use the correct registers for relay debugging of floating point arguments on x86_64. 2010-08-30 12:41:28 +02:00
Alexandre Julliard 22d5180b9f winebuild: Support relay debugging for thiscall functions. 2010-08-24 19:59:44 +02:00
Alexandre Julliard 281f701880 ntdll: Make cfi annotations optional for x86_64. 2010-04-12 12:38:27 +02:00
Michael Stefaniuc 5cc3111808 ntdll: Avoid using HIWORD on types that are 64bit on Win64. 2010-02-10 14:32:05 +01:00
Paul Vriens 2e03013fc0 ntdll: Fix length parameter for NtQueryValueKey (Coccinelle). 2010-01-08 10:14:12 +01:00
Alexandre Julliard 0c46341543 ntdll: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard ca4451fa13 ntdll: Add unwind annotations to the call_entry_point function for x86_64. 2009-06-16 14:26:34 +02:00
Alexandre Julliard 814edb4520 ntdll: Implement relay debugging for register entry points on x86_64. 2009-01-06 17:01:56 +01:00
Alexandre Julliard e31188d9da winebuild: Improve the calling sequence for register functions.
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Alexandre Julliard 4986f42b9f ntdll: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
Also assume that all register functions are stdcall.
2009-01-06 12:49:18 +01:00
Alexandre Julliard c03cd0850c ntdll: Add support for relay debugging on x86_64. 2008-12-27 20:03:25 +01:00
Alexandre Julliard f55476359c ntdll: Make the relay debug code more generic to allow supporting 64-bit platforms. 2008-12-27 20:02:34 +01:00