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