node/lib/metasm/metasm/exe_format/shellcode_rwx.rb
def assemble(*a)
		parse(*a) if not a.empty?
		@encoded_r << assemble_sequence(@source_r, @cpu); @source_r.clear
		@encoded_w << assemble_sequence(@source_w, @cpu); @source_w.clear
		@encoded_x << assemble_sequence(@source_x, @cpu); @source_x.clear
		self
	end
# encodes the source found in self.source
# appends it to self.encoded
# clears self.source
# the optional parameter may contain a binding used to fixup! self.encoded
# uses self.base_addr if it exists
encodes the source found in self.source
appends it to self.encoded
clears self.source
the optional parameter may contain a binding used to fixup.
encodes the source found in self . source appends it to self . encoded clears self . source the optional parameter may contain a binding used to fixup .
def assemble(*a)
		parse(*a) if not a.empty?
		@encoded_r << assemble_sequence(@source_r, @cpu); @source_r.clear
		@encoded_w << assemble_sequence(@source_w, @cpu); @source_w.clear
		@encoded_x << assemble_sequence(@source_x, @cpu); @source_x.clear
		self
	end
def assemble ( * a ) parse ( * a ) if not a . empty? @encoded_r << assemble_sequence ( @source_r , @cpu ) ; @source_r . clear @encoded_w << assemble_sequence ( @source_w , @cpu ) ; @source_w . clear @encoded_x << assemble_sequence ( @source_x , @cpu ) ; @source_x . clear self end
encodes the source found in self.source
appends it to self.encoded
clears self.source
the optional parameter may contain a binding used to fixup!
encodes the source found in self . source appends it to self . encoded clears self . source the optional parameter may contain a binding used to fixup!
a