refstr/strref

Find referenced text strings.

arguments

[arg1] Address of/inside a memory page to find referenced text strings in. When not specified CIP will be used.

[arg2] The size of the data to search in.

result

The $result variable is set to the number of string references found.

remarks

The contents of the reference view can be iterated in a script with the ref.addr expression function:

i = 0
loop:
  addr = ref.addr(i)
  log "reference {d:i} = {p:addr}"
  i++
  cmp i, ref.count()
  jne loop