mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
disas: Push const down through host disassembly
Reviewed-by: Joelle van Dyne <j@getutm.app> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -229,7 +229,7 @@ bool cap_disas_target(disassemble_info *info, uint64_t pc, size_t size)
|
||||
}
|
||||
|
||||
/* Disassemble SIZE bytes at CODE for the host. */
|
||||
bool cap_disas_host(disassemble_info *info, void *code, size_t size)
|
||||
bool cap_disas_host(disassemble_info *info, const void *code, size_t size)
|
||||
{
|
||||
csh handle;
|
||||
const uint8_t *cbuf;
|
||||
|
||||
Reference in New Issue
Block a user