21 Sep
2023
21 Sep
'23
6 p.m.
eric pouech (@epo) commented about dlls/mspatcha/pecoff.c:
+ * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "pecoff.h" +#include "winbase.h" + +void DECLSPEC_NORETURN throw_pe_fmt_exception(void) +{ + RaiseException(0xE0000001, 0, 0, NULL); + for (;;) { /* silence compiler warning */ } +} + +IMAGE_NT_HEADERS32 UNALIGNED *image_get_nt_headers(const void *image_base, size_t image_size) why don't you want to use the existing ntdll APIs?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3870#note_46217