I am trying to debug a stack corruption ( my guess) occurring in my program.
As I map all the local variable locations on stack. I see a lot of gap between certain variables.
Var Stack Address
sp 47f0360
msg 47f0370
p 47f0378
< Small gap >
key 47f03d0
conn 47f03e8
tmpkey 47f03f0
< Gap
>
tbl1 47f0a30
ret 47f0a3c
tbl 47f0a40
tmpPtr 47f0a48
conn_timer 47f0a50
req 47f0a58
msgHdr 47f0a60
rspMsg 47f0a68
p_wrk 47f0a70
rsp 47f0a78
bp 47f0a90
Without looking at the source code, is it possible to guess any reason about such gaps. Any non standard, non trivial patterns which can give some clue?