Last active
August 29, 2015 14:06
-
-
Save pastcompute/337cc244eff3201c6d38 to your computer and use it in GitHub Desktop.
Results for radare2 analysis of https://github.com/radare/radare2/issues/1384 without -m option
This file contains hidden or 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
$ radare2 -a mips -b 32 -e cfg.bigendian=true a.bare | |
-- Emulate the base address of a file with e file.baddr. | |
[0x00000000]> aa | |
[0x00000000]> afl | |
0x00000000 24 1 fcn.00000000 | |
0x00000018 28 1 fcn.00000018 | |
0x00000034 160 5 fcn.00000034 | |
0x000000d4 148 1 fcn.000000d4 | |
0x00000168 88 1 fcn.00000168 | |
0x000001c0 188 1 fcn.000001c0 | |
[0x00000000]> pd | |
/ (fcn) fcn.00000000 24 | |
| 0x00000000 27bdffe0 addiu sp, sp, -32 | |
| 0x00000004 afbe001c sw s8, 28(sp) | |
| 0x00000008 03a0f021 move s8, sp | |
| 0x0000000c afc00008 sw zero, 8(s8) | |
| ,=< 0x00000010 08100057 j 0x0040015c | |
\ | 0x00000014 00000000 nop | |
| ; JMP XREF from 0x000000b8 (fcn.00000034) | |
/ (fcn) fcn.00000018 28 | |
| .-----> 0x00000018 3c020041 lui v0, 0x41 | |
| | | 0x0000001c 8c420280 lw v0, 640(v0) | |
| | | 0x00000020 00000000 nop | |
| | | 0x00000024 afc2000c sw v0, 12(s8) | |
| | | 0x00000028 afc00010 sw zero, 16(s8) | |
| | ,==< 0x0000002c 08100048 j 0x00400120 | |
\ | || 0x00000030 00000000 nop | |
| ; JMP XREF from 0x00000094 (fcn.00000034) | |
/ (fcn) fcn.00000034 160 | |
| |.----> 0x00000034 8fc20010 lw v0, 16(s8) | |
| || || 0x00000038 00000000 nop | |
| || || 0x0000003c 24430001 addiu v1, v0, 1 | |
| || || 0x00000040 afc30010 sw v1, 16(s8) | |
| || || 0x00000044 8fc3000c lw v1, 12(s8) | |
| || || 0x00000048 00000000 nop | |
| || || 0x0000004c 80630000 lb v1, 0(v1) | |
| || || 0x00000050 3c040041 lui a0, 0x41 | |
| || || 0x00000054 24840284 addiu a0, a0, 644 | |
| || || 0x00000058 00441021 addu v0, v0, a0 | |
| || || 0x0000005c a0430000 sb v1, 0(v0) | |
| || || 0x00000060 8fc2000c lw v0, 12(s8) | |
| || || 0x00000064 00000000 nop | |
| || || 0x00000068 24420001 addiu v0, v0, 1 | |
| || || 0x0000006c afc2000c sw v0, 12(s8) | |
| || || 0x00000070 8fc2000c lw v0, 12(s8) | |
| || || 0x00000074 00000000 nop | |
| || || 0x00000078 80420000 lb v0, 0(v0) | |
| || || 0x0000007c 00000000 nop | |
| ||,===< 0x00000080 10400006 beqz v0, 0x0000009c | |
| ||||| 0x00000084 00000000 nop | |
| ||||| 0x00000088 8fc20010 lw v0, 16(s8) | |
| ||||| 0x0000008c 00000000 nop | |
| ||||| 0x00000090 2c420065 sltiu v0, v0, 101 | |
| |`====< 0x00000094 1440ffe7 bnez v0, fcn.00000034 | |
| | ||| 0x00000098 00000000 nop | |
| | | ; JMP XREF from 0x00000080 (fcn.00000034) | |
| | `---> 0x0000009c 8fc20008 lw v0, 8(s8) | |
| | || 0x000000a0 00000000 nop | |
| | || 0x000000a4 24420001 addiu v0, v0, 1 | |
| | || 0x000000a8 afc20008 sw v0, 8(s8) | |
| | || 0x000000ac 8fc20008 lw v0, 8(s8) | |
| | || 0x000000b0 00000000 nop | |
| | || 0x000000b4 28420064 slti v0, v0, 100 | |
| `=====< 0x000000b8 1440ffd7 bnez v0, fcn.00000018 | |
| || 0x000000bc 00000000 nop | |
| || 0x000000c0 03c0e821 move sp, s8 | |
| || 0x000000c4 8fbe001c lw s8, 28(sp) | |
| || 0x000000c8 27bd0020 addiu sp, sp, 32 | |
| || 0x000000cc 03e00008 jr ra | |
\ || 0x000000d0 00000000 nop | |
|| ; UNKNOWN XREF from 0x000000d4 (fcn.000000d4) | |
/ (fcn) fcn.000000d4 148 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment