Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
disas: Change type of disassemble_info.target_info to pointer
Use pointer to pass more information of target to disasembler,
such as pass cpu.cfg related information in following commits.

Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230523093539.203909-2-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
  • Loading branch information
Weiwei Li authored and alistair23 committed Jun 13, 2023
1 parent 3594e3e commit d02eb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/disas/dis-asm.h
Expand Up @@ -397,7 +397,7 @@ typedef struct disassemble_info {
char * disassembler_options;

/* Field intended to be used by targets in any way they deem suitable. */
int64_t target_info;
void *target_info;

/* Options for Capstone disassembly. */
int cap_arch;
Expand Down

0 comments on commit d02eb5b

Please sign in to comment.