outputting hex for better comparison with objdump
This commit is contained in:
parent
127ce5a5d9
commit
c701eb9f5b
@ -18,7 +18,7 @@ module Elf
|
||||
@text.length
|
||||
end
|
||||
def to_s
|
||||
"[" + @text.bytes.join(",") + "]"
|
||||
"[" + @text.bytes.collect{|b| "0x"+ b.to_s(16)}.join(",") + "]"
|
||||
end
|
||||
def alignment
|
||||
4
|
||||
|
Loading…
Reference in New Issue
Block a user