Page 1 of 1

Access Violation during tracing the script

Posted: Sun Jun 25, 2006 4:49 am
by ierton
Hi to all! My English is not so good) but i will try to explain))

i just write this script (first one for me) and catch an Access violation
during tracing ('s' key)

// ODbgScript version is 1.48


var addr_addr
var addr


mov pat, "Some_string_in_Memory"
mov addr , 0
mov addr_addr , 0

loop:
findmem pat, addr
cmp $RESULT,0
je exit

log $RESULT, "addr: "
mov addr, $RESULT

log "referenses:"
mov addr_addr,0
inner_loop:// <--------------ACCESS VIOLATION HERE
find addr_addr, addr
cmp $RESULT,0
je ref_exit

log $RESULT
log [$RESULT]
mov addr_addr, $RESULT
inc addr_addr
jmp inner_loop
ref_exit:


inc addr
jmp loop

exit:
log "all done!"

ret

Posted: Sun Jun 25, 2006 5:56 pm
by dELTA
So, your question is what might cause this access violation then I guess, or what? You need a good question to get a good answer around here...

Posted: Wed Jun 28, 2006 1:46 pm
by ierton
aaa. yes.
this is my question and my bug report (i suppose, that this is a bug).