Skip to content

Commit 3544290

Browse files
committed
update for mono 2.0
just changed the check from "mono.dll" to "mono-2.0-bdwgc.dll"
1 parent 7ba9b1c commit 3544290

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Blackbone/contrib/rewolf-wow64ext/src/wow64ext.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct _NT_TIB_T
6565
};
6666

6767
template <class T>
68-
struct _CLIENT_ID
68+
struct __CLIENT_ID
6969
{
7070
T UniqueProcess;
7171
T UniqueThread;
@@ -76,7 +76,7 @@ struct _TEB_T_
7676
{
7777
_NT_TIB_T<T> NtTib;
7878
T EnvironmentPointer;
79-
_CLIENT_ID<T> ClientId;
79+
__CLIENT_ID<T> ClientId;
8080
T ActiveRpcHandle;
8181
T ThreadLocalStoragePointer;
8282
T ProcessEnvironmentBlock;

Blackbone/src/BlackBone/BlackBone.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<Keyword>Win32Proj</Keyword>
5656
<RootNamespace>Xantos</RootNamespace>
5757
<ProjectName>BlackBone</ProjectName>
58-
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
58+
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
5959
</PropertyGroup>
6060
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
6161
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">

MInject/MInject.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
2525
<Keyword>ManagedCProj</Keyword>
2626
<RootNamespace>MInjectr</RootNamespace>
27-
<WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
27+
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
2828
<ProjectName>MInject</ProjectName>
2929
</PropertyGroup>
3030
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />

MInject/MonoProcess.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace MInjectNative
1616
MonoProcess::MonoProcess(DWORD p_ProcessId)
1717
{
1818
m_InnerProcess.Attach(p_ProcessId);
19-
m_MonoModule = m_InnerProcess.modules().GetModule(L"mono.dll");
19+
m_MonoModule = m_InnerProcess.modules().GetModule(L"mono-2.0-bdwgc.dll");
2020

2121
m_InnerProcess.remote().CreateRPCEnvironment(blackbone::Worker_CreateNew);
2222
m_WorkerThread = m_InnerProcess.remote().getWorker();

MInject/MonoProcessWrapper.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ bool MInject::MonoProcess::Attach(Process^ p_Process, [OutAttribute] MonoProcess
8383
{
8484
for each(ProcessModule^ mod in p_Process->Modules)
8585
{
86-
if (mod->FileName->Contains("mono.dll"))
86+
if (mod->FileName->Contains("mono-2.0-bdwgc.dll"))
8787
{
8888
p_MonoProcess = gcnew MonoProcess(p_Process->Id);
8989
return true;

0 commit comments

Comments
 (0)