Commit Graph

852 Commits

Author SHA1 Message Date
Ben Vanik
4097fe420e Merge pull request #322 from DrChat/xex2_patch
XEX2 Code Refactoring
2015-07-03 19:38:36 -07:00
Dr. Chat
9186d011f0 Bring back some important debug dumps 2015-07-03 21:28:02 -05:00
Dr. Chat
1788ee1589 Linting. 2015-07-03 20:11:08 -05:00
Dr. Chat
8cb8098a6b Dump import libraries 2015-07-03 19:43:43 -05:00
Dr. Chat
ed3db90666 Dump a few more headers (incl. execution header) 2015-07-03 19:16:36 -05:00
Dr. Chat
74d57cfd0a Dump exports by name in debug log 2015-07-03 18:45:11 -05:00
Dr. Chat
e58bb5ad9f ReImplement XexModule::GetProcAddress 2015-07-03 18:29:14 -05:00
Dr. Chat
800f982a4d XEX2 Security Page Descriptors 2015-07-03 10:58:33 -05:00
Dr. Chat
c32a94599e Use the guest copy of the xex header for guest code. 2015-07-03 10:51:56 -05:00
Dr. Chat
307feaf893 Formatting. 2015-07-03 10:51:35 -05:00
Dr. Chat
a25090f3ca Templated XUserModule::GetOptHeader 2015-07-03 10:27:08 -05:00
Dr. Chat
82ec1c345d Dump all xex2 headers in XUserModule (minus a couple) 2015-07-03 08:17:24 -05:00
Dr. Chat
be5f8d3aa4 Simplify some logic in parsing import libraries
Change struct used in export lookups
2015-07-03 08:17:23 -05:00
Dr. Chat
029babaf5d Drop dependency on old-style xex2 headers 2015-07-03 08:15:53 -05:00
Dr. Chat
fe87c08424 Shuffle some code around. 2015-07-03 08:15:53 -05:00
Dr. Chat
e44ac54eed Remove kernel dependency on old xex header 2015-07-03 08:15:52 -05:00
Ben Vanik
dec0d12cc9 Replacing includes of windows headers with base/platform.h. 2015-07-01 09:02:04 -07:00
Ben Vanik
9efccc5f4a Removing dependencies on MainWindow. 2015-07-01 08:02:22 -07:00
Ben Vanik
d7a5c74bf3 Formatting: force pointers to the left side. 2015-06-30 16:16:33 -07:00
Dr. Chat
50e19a2b12 X_DISPLAY_INFO struct 2015-06-29 23:42:58 -05:00
Ben Vanik
5b2f049d4c Adding deferred xoverlapped completion helper. 2015-06-29 12:02:08 -07:00
Ben Vanik
cc08e9019a Move NtCreateFile/NtOpenFile to VFS, implement (mostly) for real.
Progress on #305.
2015-06-29 10:33:36 -07:00
Dr. Chat
d809af5902 xbox kernel RTL cleanup 2015-06-28 20:39:45 -05:00
Ben Vanik
b663b615bf Fix XamContent return (!) and vfs use.
Progress on #305.
2015-06-28 17:33:48 -07:00
Ben Vanik
1106029afc _wfopen -> xe::filesystem::OpenFile.
Progress on #305.
2015-06-28 17:33:46 -07:00
Ben Vanik
7de9be4ef6 DrChat's fix for xex header values. 2015-06-28 14:53:58 -07:00
Ben Vanik
84e884a07f Moving get_opt_header out of xex2. 2015-06-28 14:01:53 -07:00
Ben Vanik
010b701e05 Iterating on RtImageXexHeaderField. 2015-06-28 13:44:59 -07:00
Ben Vanik
996f99bd85 Quick fix for RtlImageXexHeaderField - still some more to do. 2015-06-28 12:17:48 -07:00
Ben Vanik
e772a8cb92 Fixing module export. 2015-06-28 12:07:13 -07:00
Ben Vanik
7875a4b0ba Merge pull request #300 from DrChat/hmodule_fix
Swap to using HMODULE instead of handles for xex modules.
2015-06-28 12:01:32 -07:00
Dr. Chat
c47c0b3354 Uhh, lint 2015-06-28 13:29:54 -05:00
Ben Vanik
83872d8e8f Refactoring vfs to remove a lot of duplicated code.
Progress on #294.
2015-06-27 22:37:49 -07:00
Dr. Chat
bb900ba9db XexExecutableModuleHandle export now points to the executing HMODULE 2015-06-27 23:42:46 -05:00
Dr. Chat
944b39c51d Apply some lint n' stuff 2015-06-27 22:50:08 -05:00
Dr. Chat
8a6c620fe7 XUserModule::GetOptHeader 2015-06-27 22:42:17 -05:00
Dr. Chat
169cb65d96 Remove unused execution_info_ptr 2015-06-27 22:38:10 -05:00
Dr. Chat
7372dd4d8d Use HMODULE instead of handles for xex modules 2015-06-27 22:00:58 -05:00
Dr. Chat
c228c0fa73 Add some native xex2 structs and handling functions 2015-06-27 21:32:16 -05:00
Ben Vanik
1ac19f1b08 Replacing vfs memory mapping with base memory mapping.
Progress on #294.
2015-06-27 18:02:20 -07:00
Ben Vanik
23f91b58f3 Moving code out of vfs/ that doesn't need to be there.
Progress on #294.
2015-06-27 17:01:25 -07:00
Ben Vanik
abf47b7973 Removing utilities (that were just adding needless layers).
Progress on #294.
2015-06-27 16:27:38 -07:00
Dr. Chat
1ad144e451 NetDll_WSARecvFrom Stub 2015-06-27 17:08:42 -05:00
Dr. Chat
e94ad84fe9 RtlImageXexHeaderField special case for XEX_HEADER_EXECUTION_INFO 2015-06-27 17:06:27 -05:00
Ben Vanik
0716cf84c0 Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
Progress on #294.
2015-06-27 13:31:21 -07:00
Ben Vanik
bc75b0ab87 Fixing NtQueryDirectoryFile. 2015-06-27 12:55:30 -07:00
Ben Vanik
c2e2b3380e Replacing X_ANSI_STRING with new style.
Progress on #297.
2015-06-27 12:16:52 -07:00
Ben Vanik
f07d620553 Moving misc stuff out of xbox.h.
Progress on #297.
2015-06-27 11:44:40 -07:00
Ben Vanik
7e0246c381 Moving input structs out of xbox.h.
Progress on #297.
2015-06-27 11:37:12 -07:00
Ben Vanik
8c69a4df09 Cleaning up apu/ and renaming -private files to _flags.
Part of #296.
2015-06-27 11:25:56 -07:00