service: examinemem outputs wrong starting address (#2309)

This commit is contained in:
hitzhangjie 2021-01-20 15:55:16 +08:00 committed by GitHub
parent eb8becfb56
commit 9030fc837b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -421,7 +421,7 @@ func PrettyExamineMemory(address uintptr, memArea []byte, isLittleEndian bool, f
}
}
fmt.Fprintln(w, "")
address += uintptr(cols)
address += uintptr(cols * colBytes)
}
w.Flush()
return b.String()