Commit graph

6509 commits

Author SHA1 Message Date
Alexandre Julliard 518e394794 winebuild: Set ASLR-related dll flags by default. 2023-09-25 22:47:03 +02:00
Eric Pouech 81c8c73de2 winedump: Improve dumping DEBUG directory entries in PE images.
- always add a data dump for unknown structures
- add some bits about POGO and REPRO entries
- protect against too small structures

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-09-25 21:53:47 +02:00
Alexandre Julliard c7fafe7eb2 widl: Use the IMAGE_FIRST_SECTION helper macro. 2023-09-25 13:02:09 +02:00
Alexandre Julliard af25f29cd2 winedump: Don't zero out the PE optional header regardless of specified size. 2023-09-25 11:37:42 +02:00
Alexandre Julliard cfaf09940a winebuild: Make the syscall thunks position-independent on ARM64. 2023-09-19 16:59:45 +02:00
Alexandre Julliard 40c1c498a9 winebuild: Add a few more SEH annotations. 2023-09-19 16:59:45 +02:00
Alexandre Julliard e3aa775a63 winebuild: Remove unnecessary .cfi_startproc/endproc annotations. 2023-09-19 14:27:17 +02:00
Alexandre Julliard 6828fc8b3a winebuild: Add a separate helper for .seh annotations. 2023-09-19 14:27:17 +02:00
Stefan Dösinger c9f2f1c376 gitlab: Enable d3d8 and d3d9 device tests. 2023-09-12 20:39:49 +02:00
Alexandre Julliard 04a74bdb50 winebuild: Add SEH information to relay entry points on ARM64. 2023-09-07 17:12:55 +02:00
Alexandre Julliard 425bd55b02 winegcc: Don't disable unwind tables for PE targets. 2023-09-07 16:19:00 +02:00
Brendan Shanks 5206c71472 tools: Use posix_spawn() instead of fork()/execvp(). 2023-09-06 11:12:10 +02:00
Rémi Bernon dcb1602124 makedep: Fix a string format specifier typo. 2023-09-06 11:09:57 +02:00
Alexandre Julliard aa15f41d04 makedep: Make the spec file optional for native modules. 2023-09-05 15:20:38 +02:00
Alexandre Julliard f1ff3179aa makedep: Make the spec file optional for data-only dlls. 2023-09-05 13:20:34 +02:00
Alexandre Julliard cfcf5ca286 makedep: Make the spec file optional for testdll resources. 2023-09-05 12:45:15 +02:00
Rémi Bernon 19c1cc1c3e makedep: Support generating .exe TESTDLL resources. 2023-09-05 12:44:57 +02:00
Rémi Bernon 81da9ff0f8 makedep: Use #pragma makedep testdll for TESTDLL resources. 2023-09-05 12:44:34 +02:00
Alexandre Julliard afb8d94e2f winebuild: Ignore syscalls that point to an alias. 2023-08-28 21:56:12 +02:00
Alexandre Julliard 7ee9c19687 ntdll: Also store syscall id and names following the syscall dispatcher pointer. 2023-08-25 22:52:45 +02:00
Eric Pouech 82b0bb3c24 server: Separate console and new group flag (CreateProcess).
We were using bit 1 of RTL_USER_PROCESS_PARAMETERS for two different cases:
- rightfully, as a sign to block ctrl-c events from being processed by
  handlers (and by default, terminating the process)
- But this was also used to request for the creation of a new process group.

This patch properly separates the two use cases, by using the
ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS (checked that Win10
behaves as this patch in RtlCreateUserProcess wrt.
RTL_USER_PROCESS_PARAMETERS ProcessGroupId usage input/output).

Introduce process_group_id in startup_info_t and use it to pass it to
server. ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS is now properly
set.

Note: this will change some external behavior.
- before this patch, a child process created with Ctrl-C disabled
  (ConsoleFlags set), couldn't turn it on as the process was detached
  from unix console.
- now, SIGINT handling is moved to kernelbase (and can be turned on/off at
  application will),
- when creating a new windows group id, the child will be detached from
  unix console, so will no longer receives the SIGINT from ctrl-c in unix
  console (if parent was attached to this unix console).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-08-23 17:38:51 +02:00
Rémi Bernon 3b7398b403 widl: Guard against re-import of the main input file. 2023-08-22 21:00:56 +02:00
Alexandre Julliard 20afe43832 Remove unused NONAMELESS defines. 2023-08-15 18:56:45 +02:00
Piotr Caban e2414b55b6 winedump: Support REG_QWORD values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 49c40d502c winedump: Support dumping UTF16 value names in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 2908537f3f winedump: Don't dump volatile keys from regf file. 2023-08-04 18:07:42 +09:00
Piotr Caban 1a58a7032a winedump: Enlarge buffer in dump_want_n helper. 2023-08-04 18:07:42 +09:00
Piotr Caban bed6f9dfb3 winedump: Skip data blocks when dumping regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban b4fb0aef0d winedump: Support REG_MULTI_SZ values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 037677932b winedump: Support REG_BINARY values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 814d8d74f6 winedump: Support REG_NONE values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban c6c844f172 winedump: Support REG_EXPAND_SZ values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 1727302892 winedump: Fix empty string handling in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 654a83a583 winedump: Support dumping default values without VAL_COMP_NAME flag. 2023-08-04 18:07:42 +09:00
Piotr Caban 8242dbe5a0 winedump: Support REG_DWORD values in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban b17fed0255 winedump: Add support for decoding data stored in offset in regf files. 2023-08-04 18:07:42 +09:00
Piotr Caban 8885aea089 winedump: Fix non null terminated strings printing in regf files. 2023-08-04 18:07:42 +09:00
Mohamad Al-Jaf 0b3b28c245 widl: Add support for default_overload attribute.
Needed for IDeviceInformationStatics.
2023-08-04 09:51:24 +09:00
Piotr Caban b80ea4153b winedump: Add initial support for dumping Windows NT Registry Files (REGF). 2023-07-31 21:05:07 +09:00
Jinoh Kang 9de7c79153 winegcc: Enable SafeSEH only on i386.
SafeSEH is not applicable to architectures other than i386.

This fixes compiling with the clang ARM assembler, which cannot parse
".def @feat.00" since "@" is parsed as the start of a line comment.
2023-07-17 11:11:48 +02:00
Alexandre Julliard ed4104d358 gitlab: Make sure that the tags are fetched before building. 2023-07-14 13:25:43 +02:00
Alexandre Julliard ac6a2f2c19 gitlab: Install the gstreamer packages from deb-multimedia.org.
The standard bookworm packages don't support multilib.
2023-07-12 19:01:13 +02:00
Alistair Leslie-Hughes f1b9150451 widl: Remove unnecessary null check (Coverity). 2023-07-11 18:34:17 +02:00
Alexandre Julliard 5799e89f15 gitlab: Upgrade the Debian image to bookworm. 2023-07-10 21:15:55 +02:00
Bernhard Kölbl 711cd500e7 widl: Add basic support for the [deprecated] attribute.
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-07-05 19:54:57 +02:00
Jacek Caban 6892434b22 winedump: Add support for dumping IMPORT_OBJECT_NAME_EXPORTAS symbols.
This is used by ARM64EC importlibs.
2023-07-03 22:15:43 +02:00
Jacek Caban b090866663 winegcc: Disable exporting all symbols on mingw targets.
Mingw targets export all symbols by default if there is no explicit
export. We generate export table in winebuild and don't use explicit
exports. This may make linker generate an unused export-all table.

Spotted by Gabriel Ivăncescu.
2023-06-27 22:14:15 +02:00
Jacek Caban a5f62b3ef7 make_unicode: Don't use DECLSPEC_HIDDEN. 2023-06-26 20:19:13 +02:00
Fabian Maurer 0ce5584acc widl: Don't crash on nameless structs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49772
2023-06-26 15:00:58 +02:00
Eric Pouech 16f538a1c9 winedump: Tidy up print out in minidumps.
- adjust hex/decimal print out
- use internal helpers

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-06-23 22:48:18 +02:00