Skip to content

Commit 74ee2d8

Browse files
author
Brent Cook
committed
Land rapid7#4916, @hmoore-r7 annotate Interlock Target param as 'in' only
2 parents 7a212a0 + aa79b71 commit 74ee2d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_kernel32.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,13 +2159,13 @@ def self.create_dll(dll_path = 'kernel32')
21592159
])
21602160

21612161
dll.add_function( 'InterlockedCompareExchange', 'DWORD',[
2162-
["PDWORD","Destination","inout"],
2162+
["PDWORD","Destination","in"],
21632163
["DWORD","ExChange","in"],
21642164
["DWORD","Comperand","in"],
21652165
])
21662166

21672167
dll.add_function( 'InterlockedCompareExchange64', 'LPVOID',[
2168-
["PBLOB","Destination","inout"],
2168+
["PBLOB","Destination","in"],
21692169
["PBLOB","ExChange","in"],
21702170
["PBLOB","Comperand","in"],
21712171
])
@@ -2175,7 +2175,7 @@ def self.create_dll(dll_path = 'kernel32')
21752175
])
21762176

21772177
dll.add_function( 'InterlockedExchange', 'DWORD',[
2178-
["PDWORD","Target","inout"],
2178+
["PDWORD","Target","in"],
21792179
["DWORD","Value","in"],
21802180
])
21812181

0 commit comments

Comments
 (0)