Commit Graph

137 Commits

Author SHA1 Message Date
dmex c865593480 peview: Fix symbol VA column 2017-05-12 01:57:16 +10:00
dmex b1644f45ef Add missing line from previous commit 2017-05-08 08:26:51 +10:00
dmex eb8efd16c2 peview: Add experimental symbols tab and pdb support, Fix lib properties window resize and settings 2017-05-08 08:16:03 +10:00
dmex 624b9e1f5d peview: Fix lib support (some lib files were not showing exported object data) 2017-05-08 03:05:31 +10:00
dmex 79ff2ba71b peview: Add settings support for all tabs, Move settings support from main into phlib 2017-05-08 01:17:55 +10:00
dmex 7f2524d9b4 Tidy up some stuff 2017-05-05 19:24:31 +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 5899e9ab22 peview: Fix CFG index and rva not being consistent with other tabs 2017-04-29 22:46:05 +10:00
dmex 5ea4bdc086 peview: Fix null string check 2017-04-29 21:07:59 +10:00
dmex c18b051701 Fix typo 2017-04-29 06:31:46 +10:00
dmex f387c6ca5f peview: ignore entries with invalid RVA 2017-04-29 06:18:14 +10:00
dmex baed6ea91a peview: Fix typo, Remove legacy hack fixed by commit 75ccb14 2017-04-29 06:07:36 +10:00
dmex c57100adc9 peview: Label unnamed exported variables vs exported functions 2017-04-29 04:56:06 +10:00
dmex 883082ebfc peview: Fix section sizes, update tab layout 2017-04-28 04:14:14 +10:00
dmex d06f6610b0 Fix github file encoding issues 2017-04-27 19:12:40 +10:00
dmex d4690c9f14 peview: Fix file encoding, Fix long library name text clipping 2017-04-27 13:19:38 +10:00
dmex 358e21c486 peview: Improve flags layout 2017-04-26 18:17:06 +10:00
dmex 40850030e6 Fix token properties highlighting, Update handles tab layout, Fix peview typo 2017-04-26 15:42:21 +10:00
dmex 6bc394eda2 peview: Improve propsheet layout 2017-04-26 12:28:52 +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 bfbbb5c604 Fix CoInitializeEx "overhead associated with OLE 1.0" 2017-04-15 11:42:36 +10:00
dmex 4a4175699e Update SDK headers for RS2 2017-04-06 12:12:44 +10:00
dmex ed0753a609 Update nightly build for Visual Studio 2017 2017-03-11 21:32:08 +11:00
dmex d5468c70be Revert "Update solutions to Visual Studio 2017"
This reverts commit 24e9f3d8ea.
2017-03-11 08:10:17 +11:00
dmex 24e9f3d8ea Update solutions to Visual Studio 2017 2017-03-08 16:13:59 +11:00
dmex e40bc9b151 peview: Use PhModalPropertySheet for both PE and LIB property pages 2017-02-17 07:26:00 +11:00
dmex 269b89cc4b * Fix last commit 2017-02-12 02:23:54 +11:00
dmex 6a02c5b02f Update window procedure callbacks 2017-02-12 02:09:07 +11:00
dmex 7a56bc4e99 peview: Remove duplicate LoadConfig field 2017-02-09 20:04:10 +11:00
dmex 44bbcf6390 Remove duplicate peview resource IDs 2017-02-08 04:56:02 +11:00
dmex a64e5f1618 peview: Fix listview column index 2017-01-30 07:59:43 +11:00
dmex 67b0b5a211 Export PhMappedImage functions 2017-01-30 04:08:22 +11:00
dmex 5284dfb6c1 peview: Fix format specifier, Fix incorect type name, Improve IMAGE_CFG_ENTRY type 2017-01-30 01:34:27 +11: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 6cc09f0d7d Merge branch 'master' of https://github.com/processhacker2/processhacker2 2017-01-29 13:45:49 +11:00
dmex 0d5254a6e2 Fix peview CFG entry counts 2017-01-29 13:45:45 +11:00
dmex c9478f3ef2 Peview resize (#102)
Add window resize support to peview
2017-01-29 13:20:54 +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
dmex be73c1ffc5 PE View: Enable LongPathAware support on Windows 10 2016-09-09 19:24:04 +10:00
dmex 04bca395b3 Update to latest SDK 2016-08-02 12:23:43 +10:00
dmex 586e1c2ed2 Partial revert last commit (noarg.obj still broken) 2016-06-30 12:07:59 +10:00
dmex a869c5d1da Upgrade solutions to vs2015 update 3 (minimum version) 2016-06-29 22:06:40 +10:00
yossizahn 49b520a1b6 fix issue #41 (#42)
1) explicitly cast optional header to correct bitness, instead of allowing the compiler to decide based on the build environment. see 
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx in the remarks section.
2) same for format string use "I32" insdead of "I" which allows the compiler to decide the size based on the build environment
2016-05-26 16:40:02 +10:00
Wen Jia Liu 71e122a878 Put Entry point after Image base 2016-04-16 16:22:55 +10:00
dmex 94d8206f06 Add PE entrypoint address 2016-04-11 04:43:42 +10:00
dmex 80c4f760c3 Fix inconsistent incremental build options generating build warnings 2016-04-07 13:26:46 +10:00
dmex ba33dcf57a Bump the minimum required version to 6.01 2016-04-01 08:23:03 +11:00