node/lib/metasm/metasm/exe_format/elf_encode.rb
def encode_check_section_size(s)
		if s.size and s.encoded.virtsize < s.size
			puts "W: Elf: preexisting section #{s} has grown, relocating" if $VERBOSE
			s.addr = s.offset = nil
			s.size = s.encoded.virtsize
		end
	end
# checks a section's data has not grown beyond s.size, if so undefs addr/offset
checks a section's data has not grown beyond s.size, if so undefs addr/offset
checks a section ' s data has not grown beyond s . size if so undefs addr / offset
def encode_check_section_size(s)
		if s.size and s.encoded.virtsize < s.size
			puts "W: Elf: preexisting section #{s} has grown, relocating" if $VERBOSE
			s.addr = s.offset = nil
			s.size = s.encoded.virtsize
		end
	end
def encode_check_section_size ( s ) if s . size and s . encoded . virtsize < s . size puts "W: Elf: preexisting section #{s} has grown, relocating" if $VERBOSE s . addr = s . offset = nil s . size = s . encoded . virtsize end end
checks a section's data has not grown beyond s.size, if so undefs addr/offset
checks a section ' s data has not grown beyond s . size if so undefs addr / offset
s