Skip to content
Snippets Groups Projects
Unverified Commit b87782ef authored by Issy Long's avatar Issy Long
Browse files

Auto-fix Style/UnpackFirst offenses

parent 7193229b
No related branches found
No related tags found
No related merge requests found
......@@ -21,11 +21,11 @@ module ELFShim
ARCHITECTURE_AARCH64 = 0xB7
def read_uint8(offset)
read(1, offset).unpack("C").first
read(1, offset).unpack1("C")
end
def read_uint16(offset)
read(2, offset).unpack("v").first
read(2, offset).unpack1("v")
end
def elf?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment