mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
This adds visitor interfaces for fixed-width integers types. Implementing these in visitors is optional, otherwise we fall back to visit_type_int() (int64_t) with some additional bounds checking to avoid integer overflows for cases where the value fetched exceeds the bounds of our target C type. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> [LE: exclude negative values in uint*_t Visitor interfaces] Signed-off-by: Laszlo Ersek <lersek@redhat.com> [AF: Merged fix by Laszlo] Signed-off-by: Andreas Färber <afaerber@suse.de> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| qapi-dealloc-visitor.c | ||
| qapi-dealloc-visitor.h | ||
| qapi-types-core.h | ||
| qapi-visit-core.c | ||
| qapi-visit-core.h | ||
| qapi-visit-impl.h | ||
| qmp-core.h | ||
| qmp-dispatch.c | ||
| qmp-input-visitor.c | ||
| qmp-input-visitor.h | ||
| qmp-output-visitor.c | ||
| qmp-output-visitor.h | ||
| qmp-registry.c | ||
| string-input-visitor.c | ||
| string-input-visitor.h | ||
| string-output-visitor.c | ||
| string-output-visitor.h | ||