Full Disclosure mailing list archives

Re: Step-by-step instructions for debugging Cisco IOS using gdb


From: "Andy Davis" <iosftpexploit () googlemail com>
Date: Sat, 16 Aug 2008 10:31:38 +0100

lol - if you check the FD archives you'll see that I led the research
project at IRM that Gyan and Varun participated in

Thanks for gdb info - I wasn't aware of that

Andy

On Fri, Aug 15, 2008 at 7:20 PM, Smiler S <smiler808 () googlemail com> wrote:
From: Andy Davis <iosftpexploit_at_googlemail.com>
Date: Tue, 12 Aug 2008 22:01:37 +0100

Congratulations you are now debugging IOS ;-)

One unusual feature, which I have yet to explain is that when the
registers are displayed they are all offset by 1 e.g:

If a vector variable is stored in a register, gcc writes debug information
telling gdb which register the variable is stored in. This mapping is
changed between gcc2 & gcc3. Since there isn't anything in the debug output
to distinguish code compiled by gcc3 from code compiled by gcc2, there is no
way for gdb to know the right map. gdb supports the gcc3 map.

If vector code is compiled by gcc2 as in the case of IOS, then the register
assignment will be off by 1.

PS  - Stop ripping Gyan and Varuns IOS research work you jackass cause you
ain't getting no fame with that bullshit :P :P :P


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: