Log in

View Full Version : Access Violation during tracing the script


ierton
June 25th, 2006, 04:49
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

dELTA
June 25th, 2006, 17:56
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...

ierton
June 28th, 2006, 13:46
aaa. yes.
this is my question and my bug report (i suppose, that this is a bug).