coverity-model: update address_space_read/write models
commitd4b3d152ee005825520dc171e1e650174ae5ebe6
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jul 2021 15:50:09 +0000 (27 17:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Jul 2021 10:04:01 +0000 (30 12:04 +0200)
tree6cf73b98f4be283017c26d848b07dd2e455f2f06
parente4383ca240d804bf1c472ed004d6c7b8a505fc63
coverity-model: update address_space_read/write models

Use void * for consistency with the actual function; provide a model
for MemoryRegionCache functions and for address_space_rw.  These
let Coverity understand the bounds of the data that various functions
read and write even at very high levels of inlining (e.g. pci_dma_read).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/coverity-scan/model.c