Skip to content

Commit

Permalink
syz-manager: fix uint size of coverage bitmap size in covfilter test
Browse files Browse the repository at this point in the history
createCoverageBitmap() returns a 64bit uint value as the coverage bitmap
size.

$ go test -v -count=1 ./syz-manager

Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
  • Loading branch information
eaibmz committed Jun 3, 2024
1 parent 043d53a commit 0f7141c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syz-manager/covfilter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestCreateBitmap(t *testing.T) {
}
bitmap := createCoverageBitmap(cfg, pcs)
start := order.Uint64(bitmap[0:])
size := order.Uint32(bitmap[8:])
size := order.Uint64(bitmap[8:])
if start != 0x81000002 || size != 0x20001b {
t.Fatalf("bad region 0x%x/0x%x", start, size)
}
Expand Down

0 comments on commit 0f7141c

Please sign in to comment.