Skip to content

Commit 91c5075

Browse files
authored
Merge pull request #25 from 9ee1/develop
Capstone.NET 2.0.2 Release
2 parents cf9c6f3 + 1ed8e25 commit 91c5075

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.build/Gee.External.Capstone.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<metadata>
44
<id>Gee.External.Capstone</id>
55
<title>Capstone.NET</title>
6-
<version>2.0.1</version>
6+
<version>2.0.2</version>
77
<authors>Ahmed Garhy (@9ee1)</authors>
88
<owners>Ahmed Garhy (@9ee1)</owners>
99
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1010
<license type="file">LICENSE</license>
1111
<projectUrl>https://github.com/9ee1/Capstone.NET</projectUrl>
1212
<description>Capstone.NET is an opinionated .NET Core and a .NET Framework binding for the Capstone disassembly framework. It is written in C#, supports Capstone 4, and has a friendly and simple type safe API that is ridiculously easy to learn and quick to pick up.</description>
1313
<summary>Capstone.NET is an opinionated .NET Core and a .NET Framework binding for the Capstone disassembly framework. It is written in C#, supports Capstone 4, and has a friendly and simple type safe API that is ridiculously easy to learn and quick to pick up.</summary>
14-
<releaseNotes>Capstone.NET 2.x IS NOT backwards-compatible with previous releases of Capstone.NET, specifically Capstone.NET 1.x. Please do not upgrade until you are prepared to put in the effort to refactor your existing applications and libraries. See https://github.com/9ee1/Capstone.NET/wiki/What-is-New-in-Capstone.NET-2.x for more information.</releaseNotes>
14+
<releaseNotes>Capstone.NET 2.0.2 is a patch release. See https://github.com/9ee1/Capstone.NET/milestone/3 for more information. Capstone.NET 2.x IS NOT backwards-compatible with previous releases of Capstone.NET, specifically Capstone.NET 1.x. Please do not upgrade until you are prepared to put in the effort to refactor your existing applications and libraries. See https://github.com/9ee1/Capstone.NET/wiki/What-is-New-in-Capstone.NET-2.x for more information.</releaseNotes>
1515
<copyright>Copyright (c) Ahmed Garhy</copyright>
1616
<repository url="https://github.com/9ee1/Capstone.NET" />
1717
<tags>capstone disassembler reverse-engineering security arm x86</tags>

.build/pack.bat

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ CALL mkdir %~dp0\nuget\runtimes\win-x86\lib\netstandard2.0
1313
CALL dotnet msbuild %~dp0\..\Capstone.NET.sln ^
1414
/property:Configuration="Release" ^
1515
/property:Platform="Any CPU" ^
16-
/property:AssemblyVersion=2.0.1.0 ^
16+
/property:AssemblyVersion=2.0.2.0 ^
1717
/property:Copyright="Copyright (c) Ahmed Garhy" ^
18-
/property:FileVersion=2.0.1.0 ^
19-
/property:InformationalVersion=2.0.1.0 ^
18+
/property:FileVersion=2.0.2.0 ^
19+
/property:InformationalVersion=2.0.2.0 ^
2020
/property:Product="Capstone.NET"
2121

2222
CALL dotnet msbuild %~dp0\..\Capstone.NET.sln ^
2323
/property:Configuration="Release" ^
2424
/property:Platform="x64" ^
25-
/property:AssemblyVersion=2.0.1.0 ^
25+
/property:AssemblyVersion=2.0.2.0 ^
2626
/property:Copyright="Copyright (c) Ahmed Garhy" ^
27-
/property:FileVersion=2.0.1.0 ^
28-
/property:InformationalVersion=2.0.1.0 ^
27+
/property:FileVersion=2.0.2.0 ^
28+
/property:InformationalVersion=2.0.2.0 ^
2929
/property:Product="Capstone.NET"
3030

3131
CALL dotnet msbuild %~dp0\..\Capstone.NET.sln ^
3232
/property:Configuration="Release" ^
3333
/property:Platform="x86" ^
34-
/property:AssemblyVersion=2.0.1.0 ^
34+
/property:AssemblyVersion=2.0.2.0 ^
3535
/property:Copyright="Copyright (c) Ahmed Garhy" ^
36-
/property:FileVersion=2.0.1.0 ^
37-
/property:InformationalVersion=2.0.1.0 ^
36+
/property:FileVersion=2.0.2.0 ^
37+
/property:InformationalVersion=2.0.2.0 ^
3838
/property:Product="Capstone.NET"
3939

4040
CALL copy /V /Y ^

Gee.External.Capstone/NativeCapstoneImport.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ internal static class NativeCapstoneImport {
216216
/// Thrown if the disassembler handle is disposed, or if the instruction handle is disposed.
217217
/// </exception>
218218
[DllImport("capstone", CallingConvention = CallingConvention.Cdecl, EntryPoint = "cs_disasm_iter")]
219+
[return: MarshalAs(UnmanagedType.I1)]
219220
internal static extern bool Iterate(NativeDisassemblerHandle hDisassembler, ref IntPtr pCode, ref IntPtr codeSize, ref long address, NativeInstructionHandle hInstruction);
220221

221222
/// <summary>

0 commit comments

Comments
 (0)