mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06: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:
parent
ffba3eb34b
commit
f06176be76
3 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue