rename length to mem_length and suffer the consequences

This commit is contained in:
Torsten Ruger
2014-09-17 12:04:54 +03:00
parent 79e42003b2
commit e4474e7e2c
7 changed files with 27 additions and 30 deletions

View File

@ -14,7 +14,7 @@ module Elf
Elf::Constants::SHF_WRITE | Elf::Constants::SHF_ALLOC | Elf::Constants::SHF_EXECINSTR
end
def mem_length
def length
@text.length
end
def to_s