Monday, May 30, 2016
Thursday, May 26, 2016
PEVerify tool
PEVerify tool
- Peverify.exe (PEVerify Tool)
- Writing Verifiably Type-Safe Code
- Managed Execution Process
- Type Safety and Security
- .NET Framework Tools
- Code Access Security
- Developer Command Prompt for Visual Studio
- Build, Deployment, and Configuration Tools (.NET Framework)
- Importance of Managed and Typesafe code
- Getting the path to peverify,exe #34
- PEVerify Integration
- PEVerify related topics on stackoverflow.com
- Important .NET Framework 4.0 Command Line Tools You Must Know
- How to configure .NET Framework security settings and how to deploy a .NET Framework application
- Why VistaDB - The Importance of Managed and Typesafe Code
Wednesday, May 25, 2016
registry viewers
registry viewers. can be used to check registry changed made by installing software.
- Registry Viewer
- How to read/dump/compare registry hives
- Import/Export registry sections as XML
- Import/Export registry sections as XML
- Registry Comparator (GUI) in C#
- Diff tool
- RGDiff - Visual Diff Tool
- A Windows Installer Database Diff Tool
enum vs. class
- Using struct and class - what's that all about?
- Enums and Structs in C#
- Structs in C#
- Passing C/C++ Constants, enums, and structs to C# at compile time
- Enums in C#
- Enum vs Const
- Advanced Enum Usage with examples
- Pointers Usage in C++: Beginners to Advanced
- A Beginner's Guide to Pointers
- A Beginner's Guide on using Pointers
- Mapping Text to Enum entries
- Enum Reflection
- Setting Enum's Through Reflection
- Reflection in .NET
Tuesday, May 24, 2016
assembly dependency tools
It is a great free assembly dependency tool from Microsoft.
instructions:
Enable assembly binding logging set the registry value EnableLog in HKLM\Software\Microsoft\Fusion to 1. Note that you have to restart your application (use iisreset) for the changes to have any effect.
TIP::please run it with administrator privilege .
Tip: Remember to turn off fusion logging when you are done since there is a performance penalty to have it turned on.
- Fuslogvw.exe (Assembly Binding Log Viewer)- from Microsoft
- Back to Basics: Using Fusion Log Viewer to Debug Obscure Loader Errors
-
How to enable assembly bind failure logging (Fusion) in .NET
a great post to enable Fusion log viewer. more details on set-up.
Add the following values to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
Add:
DWORD ForceLog set value to 1
DWORD LogFailures set value to 1
DWORD LogResourceBinds set value to 1
DWORD EnableLog set value to 1
String LogPath set value to folder for logs (e.g. C:\FusionLog\)
Make sure you include the backslash after the folder name and that the Folder exists. You need to restart the program that you're running to force it to read those registry settings - How to enable assembly binding log in exception text windows 7 / Assembly binding Logging - on youtube.com
- .NET enable and disable Fusion log to investigate assembly loading issues
- How to enable assembly bind failure logging (Fusion) in .NET
- .NET Setting up Fusion Logging to figure out Assembly bind failures
- Debug Load Errors with the Assembly Binding Log Viewer
- .NET dependency walker -commercial tool
The following 1) and 2) are the good combination. 4) can be used for cross reference check.
- Project \ Assembly dependencies viewer
- Dependency Walker Frequently Asked Questions (FAQ)
- Graphviz - Graph Visualization Software
- Dependency Walker 2.2 - free ware
- Dependency Structure Matrix Add-In For Visual Studio
the following AsmSpy is a good tool to research on.
- mikehadlow/AsmSpy
- (Tuesday, October 22, 2013) AsmSpy Coloured Output
- download AsmSpy directly from this link
- Fixing assembly version conflicts in .net with AsmSpy
- AsmSpy to the rescue
- How dow I know which dependencies are conflicting and how do I remove the conflicting ones?
a reference link from stackoverflow.com:
- How do I determine the dependencies of a .NET application?
- Depends4Net - Part 1
- Depends4Net - Part 2
- How to find all dependencies of a .NET project?
- ILSpy is the open-source .NET assembly browser and decompiler.
- 5 Tools to Check Dependency Files Needed by Application
- Back to Basics: When does a .NET Assembly Dependency get loaded
- .NET Framework Versions and Dependencies
- ILDASMDC—an ILDASM-based DependencyChecker
Friday, May 13, 2016
Saturday, May 7, 2016
How to tell it's a managed or unmanaged assembly?
How to tell it's a managed or unmanaged assembly?
- Back to Basics: 32-bit and 64-bit confusion around x86 and x64 and the .NET Framework and CLR
- How to determine whether a DLL is a managed assembly or native (prevent loading a native dll)?
- Check if unmanaged DLL is 32-bit or 64-bit?
- How to find if a native DLL file is compiled as x64 or x86?
- How do I determine if a .NET application is 32 or 64 bit?
- How do I tell if my application is running as a 32-bit or 64-bit application?
- 3 Ways to Learn Whether a Windows Program is 64-bit or 32-bit
- How to check if a binary is 32 or 64 bit on Windows?
- Quick way to tell if an installed application is 64-bit or 32-bit
- How to tell if a .exe file is a 32-bit or 64-bit application using dumpbin
- Migrating 32-bit Managed Code to 64-bit
- Determining Which Version of the .NET Framework Is Installed
- How can I tell if my .NET application is running in 64bit on the 64bit server?
- Checking if the Current Process is 64-bit
- x64bit Development with .NET
- Migrating 32-bit Managed Code to 64-bit
- x64 Development with .NET
a new section starts here:
Wednesday, May 4, 2016
TASK LIST =====> next task: .NET framework compatibilty
next task: 1).NET framework compatibility. can wrap an article on how to use these tools. 2) review source code of obfuscation 3) rebuild resource refactor to Visual Studio 2015.
- Introduction to .NET Framework Compatibility
- Microsoft/dotnet-apiport
- C# and Visual Basic - Use Roslyn to Write a Live Code Analyzer for Your API
- .NET Compatibility Diagnostics 0.4.2