Fix BufferItem references
git-svn-id: file:///home/svn/framework3/trunk@9811 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
24800ca1ec
commit
e765553d26
|
@ -121,6 +121,17 @@ module Rex
|
|||
end
|
||||
end
|
||||
|
||||
class BufferItem
|
||||
attr_reader :belongs_to_param_n, :addr, :length_in_bytes, :datatype
|
||||
|
||||
def initialize(belongs_to_param_n, addr, length_in_bytes, datatype)
|
||||
@belongs_to_param_n = belongs_to_param_n
|
||||
@addr = addr
|
||||
@length_in_bytes = length_in_bytes
|
||||
@datatype = datatype
|
||||
end
|
||||
end
|
||||
|
||||
# shared functions
|
||||
module DLLHelper
|
||||
|
||||
|
@ -230,17 +241,6 @@ module Rex
|
|||
|
||||
include DLLHelper
|
||||
|
||||
class BufferItem
|
||||
attr_reader :belongs_to_param_n, :addr, :length_in_bytes, :datatype
|
||||
|
||||
def initialize(belongs_to_param_n, addr, length_in_bytes, datatype)
|
||||
@belongs_to_param_n = belongs_to_param_n
|
||||
@addr = addr
|
||||
@length_in_bytes = length_in_bytes
|
||||
@datatype = datatype
|
||||
end
|
||||
end
|
||||
|
||||
attr_accessor :functions
|
||||
|
||||
def initialize(dll_path, client, win_consts) #
|
||||
|
|
Loading…
Reference in New Issue