unicorn/qemu/include/qom
Igor Mammedov fe4152c6a5
qom: enforce readonly nature of link's check callback
link's check callback is supposed to verify/permit setting it,
however currently nothing restricts it from misusing it
and modifying target object from within.
Make sure that readonly semantics are checked by compiler
to prevent callback's misuse.

Backports commit 8f5d58ef2c92d7b82d9a6eeefd7c8854a183ba4a from qemu
2018-03-03 22:17:20 -05:00
..
cpu.h tcg: consistently access cpu->tb_jmp_cache atomically 2018-03-03 21:12:36 -05:00
object.h qom: enforce readonly nature of link's check callback 2018-03-03 22:17:20 -05:00
qom-qobject.h