Skip to content

Commit 1f40be3

Browse files
committed
Huge code refactoring
VMUnprotect is now uing Autofac, removed Transpiler
1 parent 802cbbb commit 1f40be3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1592
-733
lines changed

VMUP/.editorconfig

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
2+
[*]
3+
charset = utf-8
4+
end_of_line = lf
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
10+
# Microsoft .NET properties
11+
csharp_new_line_before_members_in_object_initializers = false
12+
csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
13+
csharp_style_var_elsewhere = true:suggestion
14+
csharp_style_var_for_built_in_types = false:suggestion
15+
csharp_style_var_when_type_is_apparent = true:suggestion
16+
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
17+
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none
18+
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
19+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
20+
dotnet_style_predefined_type_for_member_access = true:suggestion
21+
dotnet_style_qualification_for_event = false:suggestion
22+
dotnet_style_qualification_for_field = false:suggestion
23+
dotnet_style_qualification_for_method = false:suggestion
24+
dotnet_style_qualification_for_property = false:suggestion
25+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
26+
27+
# ReSharper properties
28+
resharper_autodetect_indent_settings = true
29+
resharper_csharp_wrap_before_binary_opsign = true
30+
resharper_csharp_wrap_before_first_type_parameter_constraint = true
31+
resharper_keep_existing_embedded_arrangement = false
32+
resharper_keep_existing_switch_expression_arrangement = false
33+
resharper_max_array_initializer_elements_on_line = 20
34+
resharper_max_enum_members_on_line = 1
35+
resharper_max_initializer_elements_on_line = 1
36+
resharper_place_abstract_accessorholder_on_single_line = false
37+
resharper_place_attribute_on_same_line = false
38+
resharper_place_constructor_initializer_on_same_line = false
39+
resharper_place_simple_embedded_statement_on_same_line = false
40+
resharper_place_simple_initializer_on_single_line = false
41+
resharper_show_autodetect_configure_formatting_tip = false
42+
resharper_use_indent_from_vs = false
43+
resharper_wrap_array_initializer_style = chop_if_long
44+
45+
# ReSharper inspection severities
46+
resharper_arrange_redundant_parentheses_highlighting = hint
47+
resharper_arrange_this_qualifier_highlighting = hint
48+
resharper_arrange_type_member_modifiers_highlighting = hint
49+
resharper_arrange_type_modifiers_highlighting = hint
50+
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
51+
resharper_built_in_type_reference_style_highlighting = hint
52+
resharper_inconsistent_naming_highlighting = hint
53+
resharper_introduce_optional_parameters_global_highlighting = none
54+
resharper_loop_can_be_converted_to_query_highlighting = none
55+
resharper_redundant_base_qualifier_highlighting = warning
56+
resharper_shift_expression_real_shift_count_is_zero_highlighting = hint
57+
resharper_shift_expression_result_equals_zero_highlighting = hint
58+
resharper_shift_expression_zero_left_operand_highlighting = hint
59+
resharper_suggest_var_or_type_built_in_types_highlighting = hint
60+
resharper_suggest_var_or_type_elsewhere_highlighting = hint
61+
resharper_suggest_var_or_type_simple_types_highlighting = hint
62+
resharper_unused_member_global_highlighting = hint
63+
resharper_web_config_module_not_resolved_highlighting = warning
64+
resharper_web_config_type_not_resolved_highlighting = warning
65+
resharper_web_config_wrong_module_highlighting = warning
66+
67+
[{*.bash,*.sh,*.zsh}]
68+
indent_style = space
69+
indent_size = 2
70+
71+
[{*.yaml,*.yml}]
72+
indent_style = space
73+
indent_size = 2
74+
75+
[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,fs,fsi,fsscript,fsx,hlsl,hlsli,hlslinc,master,ml,mli,nuspec,paml,razor,resw,resx,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}]
76+
indent_style = space
77+
indent_size = 4
78+
tab_width = 4

VMUP/VMUP.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VMUnprotect", "VMUnprotect\VMUnprotect.csproj", "{42C88429-9A67-4087-91BD-7D76383BC86D}"
44
EndProject
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VMUnprotect.Core", "VMUnprotect.Core\VMUnprotect.Core.csproj", "{D57B9692-671D-450B-B21C-24BA0129B888}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VMUnprotect.Runtime", "VMUnprotect.Runtime\VMUnprotect.Runtime.csproj", "{3EE03C52-C17B-4771-BF5A-32D04A2D435E}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -14,9 +14,9 @@ Global
1414
{42C88429-9A67-4087-91BD-7D76383BC86D}.Debug|Any CPU.Build.0 = Debug|Any CPU
1515
{42C88429-9A67-4087-91BD-7D76383BC86D}.Release|Any CPU.ActiveCfg = Release|Any CPU
1616
{42C88429-9A67-4087-91BD-7D76383BC86D}.Release|Any CPU.Build.0 = Release|Any CPU
17-
{D57B9692-671D-450B-B21C-24BA0129B888}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18-
{D57B9692-671D-450B-B21C-24BA0129B888}.Debug|Any CPU.Build.0 = Debug|Any CPU
19-
{D57B9692-671D-450B-B21C-24BA0129B888}.Release|Any CPU.ActiveCfg = Release|Any CPU
20-
{D57B9692-671D-450B-B21C-24BA0129B888}.Release|Any CPU.Build.0 = Release|Any CPU
17+
{3EE03C52-C17B-4771-BF5A-32D04A2D435E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{3EE03C52-C17B-4771-BF5A-32D04A2D435E}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{3EE03C52-C17B-4771-BF5A-32D04A2D435E}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{3EE03C52-C17B-4771-BF5A-32D04A2D435E}.Release|Any CPU.Build.0 = Release|Any CPU
2121
EndGlobalSection
2222
EndGlobal

VMUP/VMUnprotect.Core/Abstraction/EmptyLogger.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Context.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Engine.cs

Lines changed: 0 additions & 66 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Helpers/Formatter.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Hooks/HooksManager.cs

Lines changed: 0 additions & 63 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Hooks/Methods/DebugIsAttachedPatch.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Hooks/Methods/DebugIsLoggingPatch.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

VMUP/VMUnprotect.Core/Hooks/Methods/GetCallingAssemblyPatch.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)