Created
July 18, 2019 06:44
-
-
Save merlinxcy/579adc001efa3a082228b43a9230c4ca to your computer and use it in GitHub Desktop.
ida python print hex data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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