logs archiveIRC Archive / Undernet / #asm / 2006 / March / 6 / 1
Ingersol
hi.
renoir
http://video.google.com/videoplay?docid=4674394568103639574&q=dumb
toro
oi
renoir
That's so fu*king disgusting.
dbtid
must be a dead computer
joe-f
can anyone tell me what this function is checking the input string against.. http://pastebin.com/586602
what would you guys recommend i do in order to understand this objdump output?
toro
that you request to get something in the intel syntaxt format.
joe-f
here it is in intel syntax: http://pastebin.com/587243
toro
if the strings_not_equal is comparing strings, then the two strings given is the one found at 0x80496bc, while the other is given as an input parameter to this code
         

joe-f
ok, that makes sense.
i'm using gdb to debug this, what would be the best way to display what's at that address
toro
i never used gdb
but look for a memory dump function or something like that
joe-f
ok, should i see '0x80496bc' show up somewhere else within that dump then?
toro
no
0x80496bc is the address you want to start dumping from
the string is located at that address in memory
joe-f
okay, i'll try to do that
toro: can objdump do this?
fedex
joe-f: You can dump memory from the debugger.
joe-f
fedex: with gdb? that's what i thought
fedex
Yes.
joe-f
would it be something like this: (gdb) p/x (short[])0x12345678
fedex
(gdb) redirect-output /tmp/foo
(gdb) x/10000x 0x01000
joe-f
ok
gdb isn't recognized 'redirect-output', i was able to print out the addresses of which i need though
i think, atleast..
fedex
The first line was if you wanted to redirect the output to a file
(gdb) redirect-output STDOUT
:P
joe-f
(gdb) redirect-output STDOUT
Undefined command: "redirect-output". Try "help".
any ideas as to why this is happening too:
(gdb) x/10000x 0x01000
0x1000: Cannot access memory at address 0x1000
fedex
joe-f: Change it to your own locations
joe-f
here's what the output looks like: http://pastebin.com/587329
fedex
Shouldn't you dump from 0x80496bc
joe-f
here's whats at the address i need: 0x80496bc <_IO_stdin_used+320>: 0x20726f46 0x4153414e 0x7073202c 0x20656361
are these just more memory addresses?
fedex
You should just dump from 0x80496bc
joe-f
okay, this is what i need, right? http://pastebin.com/587339
fedex
*checking*
         

joe-f
the output only has every 16th line? i used this to get the output: x/0069408 0x80496bc
fedex
hmm....
joe-f
any ideas?
fedex
Sorry, no.
joe-f
Ok, should the memory dump have been clear text as the other dump?
fedex
Depends
But it should show you ASCII for strings.
joe-f
perhaps that's not the correct memory address that i need?
fedex
It is the correct one.
its the one thats mentioned in your code you posted.
joe-f
Yeah, it's 'pushing' that address
what six numbers should ebp be, in order to return out of this function: http://pastebin.com/587542
disc
dbtid, around?
_exe
HAHAHA
http://www.albinoblacksheep.com/flash/blockedme.php
malfunc
haha
toro
heehhe
dbtid
disc: i am now
disc
dbtid, have you seen paul around lately?
reetix.
dbtid
no
only c-bot
disc
let him know i am looking for him
if you see him around
dbtid
email him
disc
i'll do it tomorrow if i dont see him around 'til then
going to bed.
(Action) &.
dbtid
bye
you won't
i think he's off IRC for a bit
he hasn't shown up for a long while
c-bot seen reetix
c-bot
reetix!~paul@msunix.co.uk was last seen in #oldschool on Friday, 03 March 2006, 20:54:40
dbtid
hmmm
« prev next »