lucasg
bf82a6021e
[cfg] Fix typos when parsing CFG infos in PE load config ( #136 )
...
There was some uninspired copy-pastes when adding support for CFG parsing
for wow64 PE.
2017-05-06 06:22:07 +10:00
dmex
d1d1866095
Fix variable scope name re-use issues, Add extra LDR_INIT_BLOCK error checking, Fix tabspace
2017-05-04 17:05:10 +10:00
lucasg
302cdac522
Add cfg support for wow64 process ( #134 )
...
* Locate and tag CFG bitmap memory page (both x86 and x64) for wow64
processes
* Add CFG entries parsing for 32-bit executables in peview
* Add unnamed union in PH_MAPPED_IMAGE in order to selectively read a
IMAGE_NT_HEADER as 32 bit (could also have used a C-style cast)
* Rename CFG page "RVA" column to "VA" since we read Virtual Adresses
2017-05-04 16:37:44 +10:00
dmex
75ccb14252
peview: Fix incorrect export function addresses (reported by @lucasg)
2017-04-28 22:15:57 +10:00
dmex
50a3634d52
Sync minor changes
2017-04-28 02:58:44 +10:00
dmex
b87d039916
peview: Improve module import(s) enumeration
2017-04-28 02:10:59 +10:00
dmex
9534c8b5ce
phlib: Fix delay load structure type and checks
2017-04-27 17:41:08 +10:00
dmex
dafbe8efda
Fix typo from #125
2017-04-21 05:48:18 +10:00
lucasg
bcda65a27b
[peview] List exports by ordinals as well as by name ( #125 )
2017-04-21 05:39:51 +10:00
dmex
557677a55d
Fix spacing and variable names from PR #103
2017-04-19 10:20:28 +10:00
lucasg
f42a80b12e
[peview] Add safeguards around using loadconfig most recent members ( #123 )
...
Not every load configurations define GuardAddressTakenIatEntryTable or
GuardLongJumpTargetTable, and set the size member accordingly.
2017-04-19 02:25:39 +10:00
dmex
cc1582ef20
* Add missing flag from last commit
2017-04-13 19:06:48 +10:00
dmex
8d7d458637
Fix PhMapViewOfEntireFile flags for RS2 store apps
2017-04-13 18:54:59 +10:00
dmex
f0517b31c8
peview: Check binaries for valid CFG data (patch by lucasg), Fix incorrect type names
2017-01-30 00:47:22 +11:00
dmex
3d14268a94
Fix peview CFG regression
2017-01-29 08:37:48 +11:00
dmex
eb5022dd59
Fix 32bit build and improve nightly build script error handling
2017-01-29 04:12:03 +11:00
dmex
e3bf0643e0
Fix incorrect phlib types, remove tabspace characters, tidy up #101 merge
2017-01-29 00:24:15 +11:00
lucasg
c2efc5f62c
[WIP] CFG property page for Peview ( #101 )
...
* [peview] Add cfg function list for CFG-aware PE.
* [peview] Add symbol name resolving for Cfg prop page
* [peview] Clean up Cfg entry parsing with proper data structures
* [peview] List CFG whitelist by names
* [peview] Change cfg lockdown bit to SuppressedCall
That how MS call it. (see RtlpGuardAllowSuppressedCall or RtlGuardCheckLongJumpTarget in ntdll)
* [peview] Add entry id column for CFG property page
* [peview] Fix bug when loading symbols for cfg list
The symbol provider was loaded with (ImageBase, SizeOfCode) infos, not
(ImageBase, SizeOfImage).
* [peview] Clarify code in CfgProp and fix typo in cfg item data struct
* [peview] Decref symbol strings after setting the function name
* [peview] Add PhGetMappedImageCfg and PhGetMappedImageCfgEntry in mapimg
Those helpers can parse and return CFG configuration and entries in a
mapped pe.
* [peview] Tidy symbol provider init in a separate function
The code for symbol provider loading is party ripped from mainwnd.c. It
could be a good idea to provide a PhLoadDbgHelpFromCommonLocations (like
Windows Kits) in symprv.
* [peview] Add cfg configuration in load config property sheet
2017-01-28 22:46:16 +11:00
Wen Jia Liu
1989541f2f
Reorder #include statements
2016-04-10 14:24:00 +10:00
Wen Jia Liu
cb14ddeadc
Remove useless native API wrapper functions
2016-03-15 14:22:33 +11:00
Wen Jia Liu
9996edca71
Reorganize header files (more modularity); Simplify phlib initialization
2016-02-24 15:27:51 +11:00
Wen Jia Liu
f387b70c05
Reflow phlib comments to 100 character width
2016-02-05 04:02:29 +11:00
Wen Jia Liu
db33e54cb2
Code reorganization and function renames
2015-05-30 13:45:20 +00:00
Wen Jia Liu
5a2645278b
Added UTF-8 support where necessary (including settings)
2015-04-21 12:09:06 +00:00
Wen Jia Liu
c76d4e93c7
Proper UTF-8, UTF-16, UTF-32 support (settings code still needs to be updated)
2015-04-21 02:33:44 +00:00
Wen Jia Liu
90e92f2348
converted all annotations to SAL 2.0
2013-11-10 06:25:03 +00:00
Wen Jia Liu
615930620e
patch by xhmikosr
2011-08-25 02:43:45 +00:00
Wen Jia Liu
c2afc273b4
* removed KphHandle argument from KPH functions
...
* removed control Create functions
* consistently use VOID for functions with no parameters
* PPVOID -> PVOID *
* PhRefreshMupDevicePrefixes -> PhUpdateMupDevicePrefixes, PhRefreshDosDevicePrefixes -> PhUpdateDosDevicePrefixes
2011-08-22 03:12:13 +00:00
Wen Jia Liu
60347705b0
PE viewer: added display of delay imports
2011-05-21 23:56:52 +00:00
Wen Jia Liu
1f84536e18
added fast checksum code
2010-10-10 00:05:16 +00:00
Wen Jia Liu
04de3132f7
* renamed some mapped image functions
...
* added PhCheckSumMappedImage
* added checksum verification to peview
2010-09-29 05:19:16 +00:00
Wen Jia Liu
0ff2302f27
completed WOW64 module unloading
2010-07-26 12:09:15 +00:00
Wen Jia Liu
0489c4f4ec
* added PhEnumProcessesForSession and PhEnumProcessesEx
...
* fixed binary search code
2010-07-22 23:21:54 +00:00
Wen Jia Liu
f2edaaea01
improved PhpLookupMappedImageExportName
2010-07-10 04:12:38 +00:00
Wen Jia Liu
70a7e9277b
fixed PhMapViewOfEntireFile
2010-07-07 02:23:00 +00:00
Wen Jia Liu
df1e1af67c
CreateFile -> PhCreateFileWin32
2010-07-06 11:08:12 +00:00
Wen Jia Liu
1621ded6ca
* implemented process record system
...
* moved ImageVersionInfo functions to phlib correctly
2010-07-03 01:44:15 +00:00
Wen Jia Liu
6a8d125b55
added PE Viewer tool
2010-03-28 07:14:54 +00:00
Wen Jia Liu
f1d9c223bf
completed basic functionality for mapped archives/libraries
2010-03-14 03:56:33 +00:00
Wen Jia Liu
995aa9c343
completed token advanced general tab
2010-03-12 10:20:57 +00:00
Wen Jia Liu
d66d377d66
restructured common code into phlib
2010-03-11 04:15:11 +00:00