Toggle navigation
Toggle navigation
This project
Loading...
Sign in
I_Jemin
/
ITHVNR_kor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
mireado
2016-11-13 20:52:11 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2016-11-13 20:52:11 +0900
Commit
388115999a7b38288838b86bbfc4952101adaa05
38811599
2 parents
e20ea31e
0ec3d48c
Merge pull request #1 from IJEMIN/master
sysWow64 리다이렉트를 해제
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
vnr/ithsys/ithsys.cc
vnr/ithsys/ithsys.cc
View file @
3881159
// ithsys.cc
// ithsys.cc
// 8/21/2013 jichi
// Branch: ITH_SYS/SYS.cpp, rev 126
//
...
...
@@ -758,6 +758,12 @@ BOOL IthInitSystemService()
return
FALSE
;
DWORD
base
=
(
DWORD
)
peb
->
ReadOnlySharedMemoryBase
;
DWORD
end
=
base
+
info
.
RegionSize
-
0x40
;
// I_Jemin 13/11/2016
// Prevent redirecting SYSWOW64 to receive Shift-JIS
PVOID
OldValue
;
Wow64DisableWow64FsRedirection
(
&
OldValue
);
static
WCHAR
system32
[]
=
L"system32"
;
for
(;
base
<
end
;
base
+=
2
)
if
(
::
memcmp
((
PVOID
)
base
,
system32
,
0x10
)
==
0
)
{
...
...
@@ -767,6 +773,11 @@ BOOL IthInitSystemService()
while
(
*
obj
!=
L'\\'
)
obj
++
;
break
;
}
// Eguni 13/11/2016
// Dispose redirection
Wow64EnableWow64FsRedirection
(
FALSE
);
if
(
base
==
end
)
return
FALSE
;
}
...
...
Please
register
or
login
to post a comment