Skip to content

Instantly share code, notes, and snippets.

@merlinxcy
Created July 18, 2019 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merlinxcy/579adc001efa3a082228b43a9230c4ca to your computer and use it in GitHub Desktop.
Save merlinxcy/579adc001efa3a082228b43a9230c4ca to your computer and use it in GitHub Desktop.
ida python print hex data
start = 0x4007E0
end = 0x400800
to_list_int = []
to_list_str = []
for i in range(start,end,1):
print(Byte(i))
print(hex(Byte(i)))
to_list_int.append(Byte(i))
to_list_str.append(hex(Byte(i)))
print(to_list_int)
print(to_list_str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment