]> git.cworth.org Git - apitrace/commit
retrace: Fix off-by-one error in detection of intersecting regions.
authorCarl Worth <cworth@cworth.org>
Fri, 24 Aug 2012 20:54:04 +0000 (13:54 -0700)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 10 Oct 2012 15:16:38 +0000 (16:16 +0100)
commit2473ca92aaa49ff2a70c9b931b5a3068d65844f7
tree2d71af6d9ca7334c66072cd3529b07e862c73d60
parentb3381e6a8fcad8fc1e3ddd816eac127b0e254850
retrace: Fix off-by-one error in detection of intersecting regions.

The upperBound functions returns the first region beyond the region
containing the given address. So, to correctly use it here, we must
give it the last valid address of the current range, which is just
less than (address + size).

Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
retrace/retrace_swizzle.cpp