Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(788)

Issue 168860045: i#1547 Added syscalls which are used SYSTEM_INFORMATION_CLASS

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 6 months ago by Maxim Shudrak
Modified:
9 years, 5 months ago
Reviewers:
zhaoqin, bruening
CC:
drmemory-devs_googlegroups.com
Base URL:
https://drmemory.googlecode.com/svn/trunk
Visibility:
Public.

Description

i#1547 Added syscalls which are used SYSTEM_INFORMATION_CLASS Added 4 syscalls which are used undocumented SYSTEM_INFORMATION_CLASS enumeration. NtQuerySystemInformation NtSetSystemInformation NtQuerySystemInformationWow64 NtQuerySystemInformationEx BUG=1547 R=bruening@google.com

Patch Set 1 #

Patch Set 2 : fixed mistake #

Total comments: 7

Patch Set 3 : fixed name of Wow64 syscall #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8750 lines, -7442 lines) Patch
M drsyscall/drsyscall_windows.c View 1 2 1 chunk +2908 lines, -2908 lines 2 comments Download
M drsyscall/table_windows_ntoskrnl.c View 1 2 1 chunk +3552 lines, -3564 lines 0 comments Download
M drsyscall/table_windows_ntoskrnl_infoclass.c View 1 2 1 chunk +2047 lines, -727 lines 1 comment Download
M wininc/ndk_extypes.h View 1 chunk +243 lines, -243 lines 0 comments Download

Messages

Total messages: 6
Maxim Shudrak
Added syscalls which are used undocumented SYSTEM_INFORMATION_CLASS enumeration. PTAL. P.S. What about https://codereview.appspot.com/159000043/ is it ...
9 years, 6 months ago (2014-10-31 17:13:06 UTC) #1
Maxim Shudrak
fixed mistake
9 years, 6 months ago (2014-10-31 19:41:50 UTC) #2
zhaoqin
the biggest complain is the sysnum_QuerySystemInformationWow64 and syscall_Wow64GetNativeSystemInformation name mismatch. Should we have consistent name ...
9 years, 5 months ago (2014-11-10 04:15:23 UTC) #3
Maxim Shudrak
https://codereview.appspot.com/168860045/diff/20001/drsyscall/table_windows_ntoskrnl_infoclass.c File drsyscall/table_windows_ntoskrnl_infoclass.c (right): https://codereview.appspot.com/168860045/diff/20001/drsyscall/table_windows_ntoskrnl_infoclass.c#newcode37 drsyscall/table_windows_ntoskrnl_infoclass.c:37: extern drsys_sysnum_t sysnum_QuerySystemInformationWow64; On 2014/11/10 04:15:23, zhaoqin wrote: > ...
9 years, 5 months ago (2014-11-22 14:36:32 UTC) #4
bruening
https://codereview.appspot.com/168860045/diff/20001/drsyscall/table_windows_ntoskrnl_infoclass.c File drsyscall/table_windows_ntoskrnl_infoclass.c (right): https://codereview.appspot.com/168860045/diff/20001/drsyscall/table_windows_ntoskrnl_infoclass.c#newcode743 drsyscall/table_windows_ntoskrnl_infoclass.c:743: {{0,0},"NtQuerySystemInformation.SystemBasicInformation", OK|SYSINFO_RET_SMALL_WRITE_LAST, RNTST, 4, On 2014/11/22 14:36:31, Maxim Shudrak ...
9 years, 5 months ago (2014-11-22 15:14:52 UTC) #5
zhaoqin
9 years, 5 months ago (2014-11-25 16:21:05 UTC) #6
LGTM with nit

https://codereview.appspot.com/168860045/diff/40001/drsyscall/drsyscall_windo...
File drsyscall/drsyscall_windows.c (right):

https://codereview.appspot.com/168860045/diff/40001/drsyscall/drsyscall_windo...
drsyscall/drsyscall_windows.c:2806: drsys_sysnums_equal(&ii->arg->sysnum,
&sysnum_Wow64GetNativeSystemInformation) ||
line too long

https://codereview.appspot.com/168860045/diff/40001/drsyscall/drsyscall_windo...
drsyscall/drsyscall_windows.c:2893: drsys_sysnums_equal(&ii->arg->sysnum,
&sysnum_Wow64GetNativeSystemInformation) ||
line too long

https://codereview.appspot.com/168860045/diff/40001/drsyscall/table_windows_n...
File drsyscall/table_windows_ntoskrnl_infoclass.c (right):

https://codereview.appspot.com/168860045/diff/40001/drsyscall/table_windows_n...
drsyscall/table_windows_ntoskrnl_infoclass.c:743:
{{0,0},"NtQuerySystemInformation.SystemBasicInformation",
OK|SYSINFO_RET_SMALL_WRITE_LAST, RNTST, 4,
hmm, I guess I missed the missing .System*Information here.
So did you test before requesting review?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b