Welcome to the new Woodmann RCE Messageboards Regroupment
Please be patient while the rest of the site is restored.

To all Members of the old RCE Forums:
In order to log in, it will be necessary to reset your forum login password ("I forgot my password") using the original email address you registered with. You will be sent an email with a link to reset your password for that member account.

The old vBulletin forum was converted to phpBB format, requiring the passwords to be reset. If this is a problem for some because of a forgotten email address, please feel free to re-register with a new username. We are happy to welcome old and new members back to the forums! Thanks.

All new accounts are manually activated before you can post. Any questions can be PM'ed to Kayaker.

Access Violation during tracing the script

Found a bug in OllyDbg? Post a report here.

Access Violation during tracing the script

Post 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

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]
mov addr_addr, $RESULT
inc addr_addr
jmp inner_loop

inc addr
jmp loop

log "all done!"

User avatar
Posts: 4209
Joined: Mon Oct 30, 2000 7:00 am
Location: Ring -1

Post 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...

Post by ierton »

aaa. yes.
this is my question and my bug report (i suppose, that this is a bug).