Граф коммитов

704 Коммитов

Автор SHA1 Сообщение Дата
Martin Karing 1402a8a145 Fixing signature import for renamed references 2020-09-13 11:59:17 +02:00
Ivan Kochurkin eb4d348976 Remove not used parameter outputHelper from Run signatures 2020-09-13 11:59:17 +02:00
Ivan Kochurkin 1cc5812768 Extend test case for #187 2020-09-13 11:59:17 +02:00
David Schaefer 77110d79fc don't swallow invalid pattern in message 2020-09-10 11:28:47 +02:00
Martin Karing 6442a625ab
Merge pull request #189 from PositiveTechnologies/TestsRefactoring
Refactor duplicated code in tests, remove duplicated references from test projects
2020-09-05 10:29:44 +02:00
Martin Karing 33e5ed4719 Enable double clicks in the UI
The list views in the ui now support double clicks to open the configuration.
2020-09-05 10:20:49 +02:00
dependabot-preview[bot] cb2afdd219 Update Microsoft.Build.Tasks.Core requirement from 15.7.* to 15.9.*
Updates the requirements on [Microsoft.Build.Tasks.Core](https://github.com/microsoft/msbuild) to permit the latest version.
- [Release notes](https://github.com/microsoft/msbuild/releases)
- [Commits](https://github.com/microsoft/msbuild/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 17:54:40 +02:00
Ivan Kochurkin 9ab20f1fd2 Reliable passing of AntiTamperTest 2020-08-23 17:23:25 +03:00
Ivan Kochurkin fca6a5ce06 Fix issue after rebasing 2020-08-23 14:39:49 +03:00
Ivan Kochurkin 26a6736880 Add #pragma warning disable IDE0044 for _referenceField field to remove compiler warning 2020-08-23 14:34:11 +03:00
Ivan Kochurkin 62f6bebf38 Move Run method from TestRunner to TestBase, remove TestRunner 2020-08-23 14:34:11 +03:00
Ivan Kochurkin 56e11d1d9b Remove clearing data after each test run (it allows to examine obfuscated assemblies after tests running), use more clear suffix for temp dir instead of GUID 2020-08-23 14:34:11 +03:00
Ivan Kochurkin 5d9432a84f Use "obfuscated_" + Guid.NewGuid().ToString() everywhere in tests 2020-08-23 14:34:11 +03:00
Ivan Kochurkin e987ad1951 Use Action<ProjectModule> instead of signWithKey bool parameter in EnhancedStrongNameTest 2020-08-23 14:34:11 +03:00
Ivan Kochurkin 96af1be73c Add .idea/ to .gitignore (ignore Rider files) 2020-08-23 14:34:11 +03:00
Ivan Kochurkin 8449e9de1f Simplify Confuser.Core.Test.csproj; Confuser.UnitTest.csproj: TargetFrameworks -> TargetFramework 2020-08-23 14:34:09 +03:00
Ivan Kochurkin 80067fdde0 Simplify ConstantInliningTest (also use TestRunner.Run) 2020-08-23 14:33:32 +03:00
Ivan Kochurkin 5a0d24d932 Fix rebase issue 2020-08-23 14:33:22 +03:00
Ivan Kochurkin 76111dd754 Move test class initialization to TestBase 2020-08-23 14:33:22 +03:00
Ivan Kochurkin 2667fc66a4 Remove redundant references from test projects 2020-08-23 14:33:20 +03:00
Ivan Kochurkin 57dfad83b5 Extract duplicated tests logic to TestRunner.Run method, fix #158 2020-08-23 14:28:20 +03:00
dependabot-preview[bot] 73d4080f12 Bump xunit from 2.3.1 to 2.4.1
Bumps [xunit](https://github.com/xunit/xunit) from 2.3.1 to 2.4.1.
- [Release notes](https://github.com/xunit/xunit/releases)
- [Commits](https://github.com/xunit/xunit/compare/2.3.1...2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 15:47:30 +02:00
dependabot-preview[bot] d7826b410b Bump xunit.runner.visualstudio from 2.3.1 to 2.4.3
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.3.1 to 2.4.3.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits/v2.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 15:12:46 +02:00
Martin Karing 7ce8635135
Added Funding Information again 2020-08-22 15:12:10 +02:00
dependabot-preview[bot] 499cab5ed2 Bump Moq from 4.10.1 to 4.14.5
Bumps [Moq](https://github.com/moq/moq4) from 4.10.1 to 4.14.5.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.10.1...v4.14.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 14:30:39 +02:00
dependabot-preview[bot] cfa817751e Bump MvvmLightLibs from 5.4.1 to 5.4.1.1
Bumps [MvvmLightLibs](https://github.com/lbugnion/mvvmlight) from 5.4.1 to 5.4.1.1.
- [Release notes](https://github.com/lbugnion/mvvmlight/releases)
- [Commits](https://github.com/lbugnion/mvvmlight/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 13:57:08 +02:00
dependabot-preview[bot] c8a3c553ec Bump Nerdbank.GitVersioning from 2.1.65 to 3.2.31
Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 2.1.65 to 3.2.31.
- [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases)
- [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/compare/v2.1.65...v3.2.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 13:55:53 +02:00
dependabot-preview[bot] 12d36d5e21 Bump Microsoft.NET.Test.Sdk from 15.8.0 to 16.7.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 15.8.0 to 16.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v15.8.0...v16.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 13:55:36 +02:00
dependabot-preview[bot] 21432bfbfd Bump MSBuild.Sdk.Extras from 2.0.41 to 2.1.2
Bumps [MSBuild.Sdk.Extras](https://github.com/novotnyllc/MSBuildSdkExtras) from 2.0.41 to 2.1.2.
- [Release notes](https://github.com/novotnyllc/MSBuildSdkExtras/releases)
- [Commits](https://github.com/novotnyllc/MSBuildSdkExtras/compare/v2.0.41...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-22 13:54:58 +02:00
Martin Karing f6510b33f7
Enhance master branch readme 2020-08-22 13:50:42 +02:00
Martin Karing a61661e5ec
Merge branch 'pr/188'
# Conflicts:
#	Confuser2.sln
2020-08-22 10:14:46 +02:00
Martin Karing 803c610a5d Added renamer to test projects 2020-08-22 10:04:56 +02:00
Martin Karing 74d4c224c4 Fixed rename references problem
The VTableAnalyzer injected additional TypeRefs that were not required to be
present in the assembly.
2020-08-22 09:49:50 +02:00
Martin Karing a23712bee1 Removed duplicated code 2020-08-22 09:31:00 +02:00
Martin Karing a7035b478f Fixing renaming of properties referenced by wpf
Properties referenced by WPF are properly detected, but the reference to the properties is not updated in the BAML file. This issue is now fixed.
2020-08-22 09:31:00 +02:00
Martin Karing f0d63046d6 Added unit test for issue 2020-08-16 18:00:48 +02:00
Martin Karing d5570cba41 Disable inlining for methods with constants protection
The inlining for constants protections may cause problems, in case the calling assembly changes due to inlining. This change disables inlining for methods that contain calls to the constants decoder.
2020-08-16 18:00:48 +02:00
Ivan Kochurkin dc4c17de64 Simplify SignatureMismatch2.Test 2020-08-13 02:28:56 +03:00
Ivan Kochurkin 298ad0c868 Fix " Could not load file or assembly 'Confuser.Protections' or one of its dependencies." error in tests 2020-08-13 01:21:09 +03:00
Ivan Kochurkin 92af27dbd0 Add SignatureMismatch2.Test and helper projects (TypeLoadException is thrown in complicated cases with inheritance if renPublic=true and several assemblies are involved, #187) 2020-08-13 01:07:35 +03:00
Ivan Kochurkin b38d84fea8 Fix 78_SignatureMismatch.Test (obfuscation was not working) 2020-08-13 01:04:53 +03:00
Martin Karing 17024d912b Added missing check to avoid a NRE
The PdbMethod may not be set at all, while ConfuserEx is instructed to rename the pdb. This did lead to a NRE.
2020-08-09 10:49:53 +02:00
Martin Karing 92ed2907b8 Incremented version for next release 2020-07-12 20:36:41 +02:00
Martin Karing 5d92e25e43
Set version to 1.4.1 Release 2020-07-12 20:35:37 +02:00
Martin Karing 9d089178ec
Add new rename mode for not changing the name (#170)
* Add rename mode to keep the names the same

* Added new rename mode to unit test
2020-07-12 18:57:37 +02:00
ImgBotApp 039726eb7b [ImgBot] Optimize images
*Total -- 125.43kb -> 37.32kb (70.25%)

/ConfuserEx/Resources/TeamLogo.png -- 120.02kb -> 35.21kb (70.66%)
/ConfuserEx/Resources/Save.png -- 1.08kb -> 0.33kb (69.31%)
/ConfuserEx/Resources/Open.png -- 1.08kb -> 0.38kb (65.34%)
/ConfuserEx/Resources/New.png -- 1.08kb -> 0.39kb (64.17%)
/ConfuserEx/Resources/Decode.png -- 1.08kb -> 0.44kb (59.03%)
/ConfuserEx/Resources/Tools.png -- 1.08kb -> 0.57kb (47.29%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-07-12 18:56:58 +02:00
Martin Karing 26d069636d
Fixing debug renaming for dynamic referenced types (#169)
* Added unit test to reproduce the issue

* Fixed debug renaming
2020-07-12 14:36:38 +02:00
Martin Karing 7b37382e7d
Fixing debug renaming for generic types (#167)
* #161 Reproduce issue

Enabled debug renaming to reproduce the bug

* #161 Fixed debug rename mode

The debug rename mode did not properly work for generic types.
2020-07-11 15:57:24 +02:00
Martin Karing acbd87165d #162 Limit ctrl flow obfuscation as workaround 2020-07-10 22:33:10 +02:00
Martin Karing ba596ad087 Prepared next version 2020-07-08 15:25:07 +02:00