aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-30 18:28:37 +0200
committerAndreas Färber <afaerber@suse.de>2013-08-30 21:15:44 +0200
commit5b9237f67c499fa4e20bb9bd29c7ce54afe79cb7 (patch)
tree75051804a1fb76cee27d23e437ad49a30228323c /target-moxie/cpu.c
parent213f0c4f619dda7a56612353009e6f30d3348206 (diff)
qom: Assert instance size in object_initialize_with_type()
This catches objects initializing beyond allocated memory, e.g., when subtypes get extended with instance state of their own. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-moxie/cpu.c')
0 files changed, 0 insertions, 0 deletions