qemu-patch-raspberry4/include
Alexander Graf 8be656b87c linux-user: Allocate thunk size dynamically
We store all struct types in an array of static size without ever
checking whether we overrun it. Of course some day someone (like me
in another, ancient ALSA enabling patch set) will run into the limit
without realizing it.

So let's make the allocation dynamic. We already know the number of
structs that we want to allocate, so we only need to pass the variable
into the respective piece of code.

Also, to ensure we don't accidently overwrite random memory, add some
asserts to sanity check whether a thunk is actually part of our array.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2015-06-15 11:36:58 +03:00
..
block main-loop: Drop qemu_set_fd_handler2 2015-06-12 13:26:21 +01:00
disas disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
exec linux-user: Allocate thunk size dynamically 2015-06-15 11:36:58 +03:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw MIPS patches 2015-06-12 2015-06-12 12:49:40 +01:00
libdecnumber Fix new typos in comments (found by codespell) 2014-07-18 17:45:36 +04:00
migration Add a protective section footer 2015-06-12 06:54:01 +02:00
monitor monitor: Change return type of monitor_cur_is_qmp() to bool 2015-06-02 10:07:16 +02:00
net vhost: 64 bit features 2015-06-10 18:15:04 +02:00
qapi qobject: Add a special null QObject 2015-05-11 08:59:07 -04:00
qemu -----BEGIN PGP SIGNATURE----- 2015-06-12 15:39:05 +01:00
qom qom: add object_property_add_const_link 2015-06-05 17:36:39 +02:00
standard-headers virtio: update headers, add virtio-gpu (2d) 2015-06-10 11:02:00 +02:00
sysemu Split header writing out of qemu_savevm_state_begin 2015-06-12 06:54:01 +02:00
ui QemuOpts: Convert qemu_opts_foreach() to Error 2015-06-09 07:37:37 +02:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h linux/elf.h update 2015-05-27 17:52:03 +02:00
glib-compat.h glib: remove stale compat functions 2015-05-22 15:58:06 -04:00
qemu-common.h machine: add default_ram_size to machine class 2015-06-03 23:56:55 +02:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00