Init bitshift upon creation

This commit is contained in:
Anton Kochkov 2017-07-28 19:33:16 +08:00
parent fa576bbb9a
commit 00be0a19d3
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ R_API RAsm *r_asm_new() {
}
a->dataalign = 1;
a->bits = R_SYS_BITS;
a->bitshift = 0;
a->syntax = R_ASM_SYNTAX_INTEL;
a->plugins = r_list_newf ((RListFree)plugin_free);
if (!a->plugins) {

View File

@ -616,6 +616,7 @@ typedef struct r_anal_t {
int trace;
int esil_goto_limit;
int pcalign;
int bitshift;
RList *types;
//struct r_anal_ctx_t *ctx;
struct r_anal_esil_t *esil;