hi, I'm new to this site, and i didn't know the response was sent via my email, I figured out the first phase but i'm struggling phase_2 and i've only few days for due. here are my questions
1) where the user inputs are stored or from which register does the function read_six_number read the inputs
2) when i run gdb, and check info registers, before the function read_six_numbers is called and right after the the function called, should not the value in the register *(%esp) be the same as the input 6 numbers?
3) how do we check what values are in the registers at specific point to keep track of their values
for example if i want the values of the registers-- %eax and *(%esp) at this line
8048eab: 89 04 24 mov %eax,(%esp)
4) when i run info registers after the phase_1 through out the phase_2, to see what's goin' on there, i could get only the register values and when i check their values i'd get only garbage
5) in the following line is the cmp checking the value in the adresses that %eax and 0xfffffffc(%esi,%ebx,4) contain or just the adresses
8048ec2: 39 44 9e fc cmp %eax,0xfffffffc(%esi,%ebx,
8048ec6
thanks in advance,
Main Topics
Browse All Topics





by: Infinity08Posted on 2009-10-30 at 06:49:28ID: 25702894
What's your question ?
How far did you get, and where are you stuck ?