Ticket #78 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

MIPS static analysis is failing on IRIX_ssh binary

Reported by: may Owned by:
Priority: major Milestone: v0.81
Component: ERESI Version:
Severity: Medium Keywords:
Cc:

Description (last modified by may) (diff)

load IRIX_ssh analyse

[....] [D] curaddr WILL BE analyzed: 0x100280A4 (curr = 40, ilen = 4)

[D] curaddr analyzed: 0x100280A4 (dstaddr = 0x10028174, retaddr = 0x100280AC)

[D] mjr_analyse_code/src/core.c,77: ilen=-1 first byte=44

[D] asm_read_instr returned -1 at address 0x10028174

<mayhem> check instr at 0x100280A4

<mayhem> see if you decode its destination correctly :)

<mayhem> it should maybe be 0x10028173 instead of 0x10028174

<pi3> [root@lost-coder libasm]# ./mydisasm IRIX_ssh 0x100280A4 4

<pi3> 0x100280a4: beq a1,zero,0x10028174 10 a0 00 33

<pi3> [root@lost-coder libasm]#

Change History

Changed 3 months ago by may

  • description modified (diff)

Changed 3 months ago by may

  • description modified (diff)

Changed 3 months ago by pi3

  • status changed from new to closed
  • resolution set to fixed

12:43 < pi3> > gdb -q ./IRIX_ssh 12:43 < pi3> (no debugging symbols found)...(gdb) x/i 0x100280A4 12:43 < pi3> 0x100280a4 <buffer_compress_uninit+32>: beqz a1,0x10028174 <buffer_compress_uninit+240> 12:43 < pi3> (gdb) x/i 0x10028174 12:43 < pi3> 0x10028174 <buffer_compress_uninit+240>: dmtc1 zero,$f4 12:43 < pi3> (gdb) 13:09 < pi3> [root@lost-coder libasm]# ./mydisasm ../../MIPS/IRIX_ssh 0x100280A4 4 13:09 < pi3> 0x100280a4: beq a1,zero,0x10028174 10 a0 00 33 13:09 < pi3> [root@lost-coder libasm]# ./mydisasm ../../MIPS/IRIX_ssh 0x10028174 4 13:09 < pi3> 0x10028174: dmtc1 zero,a0 44 a0 20 00 13:09 < pi3> [root@lost-coder libasm]# 13:09 < pi3> fixed

Note: See TracTickets for help on using tickets.