Siegfried Pammer
31b4e6ae6a
Fix #2185 : Fix MemberIsHidden-check for local function display structs: Async State Machines that looked like local function display structs were not hidden once local function decompilation was disabled. This led to code duplication in the generated pdb.
5 years ago
Siegfried Pammer
46e1e3e144
Move dotnet-format installation to Agent.ToolsDirectory to prevent its nupkg from being added to our release zip.
5 years ago
Siegfried Pammer
2b13e57102
Fix pipelines-install.ps1
5 years ago
Siegfried Pammer
12668300f6
Set version number to 6.2.1
5 years ago
Siegfried Pammer
22b3838e72
run azure-pipelines/appveyor on all branches we treat as release branches: master and release/*
5 years ago
Siegfried Pammer
2530c9a2ce
#2182 : Do not inline switch value, in case variable is reused.
5 years ago
Daniel Grunwald
47685c4b57
Fix weird casts to `nint` when writing to fields of unknown type.
5 years ago
Daniel Grunwald
103a6461e4
Relax ExpressionBuilder invariant for lifted instructions with unknown result type.
5 years ago
Daniel Grunwald
a81714f707
Fix #2180 : Restrict the `(uint?)-1` special case to casts to integer types.
...
This avoids the risk of stack overflows when converting to an unexpected nullable type (such as `Nullable<UnknownType>`).
5 years ago
Daniel Grunwald
0dcb9d384a
Fix #2183 : incorrect version in binding redirect for AvalonEdit
5 years ago
Siegfried Pammer
2612a06a11
Fix #2174 : Some compilers produce display class ctors with unused local variables
...
(cherry picked from commit 71b54e87a0
)
5 years ago
Siegfried Pammer
06243c8244
Fix #2177 : PDB Generation is confused by enhanced using statements
...
(cherry picked from commit 65a5af2c99
)
5 years ago
Christoph Wille
0051c4e55f
Publish frontends for 6.2 final
5 years ago
Daniel Grunwald
03787bfc70
Avoid parentheses around lambdas where possible.
5 years ago
Christoph Wille
05632fc06c
Merge pull request #2167 from wwh1004/lang-zhcn
...
Update and improve Chinese translation
5 years ago
Siegfried Pammer
e5b0004d1c
Fix build
5 years ago
Siegfried Pammer
8e9ecf6c36
Fix #2162 : handle VariableInitializers like AssignmentExpressions in InsertParenthesesVisitor
5 years ago
文煌
52256ed16f
Update and improve Chinese translation
5 years ago
Christoph Wille
a7dc7b3500
Frontends updated for 6.2-preview2
5 years ago
Daniel Grunwald
63d1f5bb09
Adjust old `calli` test case to new function pointer syntax
5 years ago
Daniel Grunwald
8573c5282e
Avoid code duplication when disassembling signature headers.
5 years ago
Daniel Grunwald
6d3239678c
Function pointers: add support for the builtin unmanaged calling conventions.
5 years ago
Daniel Grunwald
f5a443d1b8
Upgrade Roslyn version used for tests to 3.8.0-3.final
5 years ago
Daniel Grunwald
5bbd34a53b
Function pointers are invocable.
5 years ago
Daniel Grunwald
6bcb26db70
Add option for `string.Concat` decompilation.
5 years ago
Siegfried Pammer
c7adbb6d70
Merge pull request #2160 from wwh1004/lang-zhcn
...
Update Chinese translation
5 years ago
Christoph Wille
03d2753eff
P2 will be the next version
5 years ago
文煌
c298ec8635
update Chinese translation: 可携带 -> Portable
...
可携带有点像强行翻译的
5 years ago
文煌
e77f63ad23
update Chinese translation
5 years ago
Daniel Grunwald
9381be2280
#2158 : Fix decompilation of arithmetic on managed pointers after ConversionKind.StartGCTracking.
5 years ago
Daniel Grunwald
a26a25d689
Fix #2158 : Remove PointerType support from CSharpResolver for additions/subtractions.
...
These have special semantics (number of elements in C# vs. number of bytes in IL), and so pointer arithmetic must go through the special HandlePointerArithmetic() code path --> the normal logic in HandleBinaryNumeric must not ever emit pointer arithmetic.
5 years ago
Daniel Grunwald
e8b35a481a
Fix #2156 : range syntax not being detected correctly in some cases
5 years ago
Siegfried Pammer
813cd1842f
#2156 : Enforce string type of string.to.int argument.
5 years ago
Siegfried Pammer
a7382eacef
Merge pull request #2153 from srutzky/patch-1
...
Fix "Base of Data" for PE32Plus images in Optional Header (Metadata Explorer)
5 years ago
Siegfried Pammer
0f5e46336f
Fix #2151 : Improve performance of Metadata DataGridCell
5 years ago
Siegfried Pammer
41edef710e
Fix build.
5 years ago
Siegfried Pammer
0b0a6d94a8
Add support for local function pointers.
5 years ago
Siegfried Pammer
13636c89cc
Add support for C# 9: foreach with GetEnumerator extension methods.
5 years ago
Daniel Grunwald
9d590e4c1e
Merge pull request #2150 from icsharpcode/fnptr
...
Support for C# 9 function pointers
5 years ago
Solomon Rutzky
d9fa5110e0
Fix "Base of Data" in Optional Header
...
Based on the definition of the "BaseOfData" field as found in the official documentation ( https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#optional-header-standard-fields-image-only ), and confirmed via a PE32+ SQL Server DLL (sqlaccess):
1. Updated the "Meaning" to include:
1. the value that this particular value is relative to (i.e. "ImageBase").
2. the fact that this value is _not_ present in PE32Plus (only regular 'ol PE32):
1. Placed this info at the beginning (i.e. far left) of the "Meaning" to increase visibility and reduce the chances of it not being seen (since it might be unexpected to simply not exist for certain images).
2. Intentionally stated both that it's not present in PE32Plus, _and_ only present in PE32, to be as clear as possible as to why the offset is 0 for PE32Plus.
2. Updated the "Offset" to be conditional, based on whether or not image is PE32Plus (same condition used for "Size" and "Value"). It now shows 0 for PE32Plus as this field does not exist under this condition. Showing a 0 offset is preferable to removing this field / entry entirely as that might lead to confusion for those who would have no idea why this field / entry was missing.
3. Updated the "Value" to be a literal 0 (ulong; was reading next UInt64 from the header).
4. Updated the "Size" to be 0 if image is PE32Plus (was 8 bytes).
Also:
5. Simplified multiple occurrences of `header.Magic == PEMagic.PE32Plus` test with a new variable: `isPE32Plus`.
5 years ago
Andreas Weizel
41e086cb26
Allow AddIn to detect framework of .NET Core assemblies correctly, if they are located in user's .nuget folder
5 years ago
Siegfried Pammer
1b47acfde7
Fix build.
5 years ago
Christoph Wille
914665e067
Update to AvalonEdit 6.1.0-preview1. Fixes #2139 .
5 years ago
Siegfried Pammer
9afbcba79a
Fix #1796 : Use hexadecimal literals with bitwise operators.
5 years ago
Daniel Grunwald
0e1c24464f
Fix #2148 : Don't attempt to detect `fixed` statement for pinned value types
5 years ago
Daniel Grunwald
db11c6debe
Merge pull request #2147 from srutzky/patch-2
...
Fix "DLL Characteristics" meanings in Optional Header
5 years ago
Daniel Grunwald
5c6b9897c1
Avoid redundant casts + adjust NoExtensionMethods ugly test.
5 years ago
Daniel Grunwald
b8796908f6
Fix some type inference issues with pointer types.
5 years ago
Daniel Grunwald
d13a8bb64d
Support `ldftn` in the context of a function pointer.
5 years ago
Daniel Grunwald
3831b42197
Properly support `calli` instruction and its interaction with function pointer types.
5 years ago