mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 03:35:37 +00:00
fix a few warnings
This commit is contained in:
parent
c9779da737
commit
edc7ec2c61
@ -97,9 +97,8 @@ static int rasm_show_help(int v) {
|
||||
static int rasm_disasm(char *buf, ut64 offset, int len, int bits, int ascii, int bin, int hex) {
|
||||
RAsmCode *acode;
|
||||
ut8 *data = NULL;
|
||||
char *ptr = buf;
|
||||
int ret = 0;
|
||||
ut64 word = 0, clen = 0;
|
||||
ut64 clen = 0;
|
||||
if (bits == 1)
|
||||
len /= 8;
|
||||
|
||||
|
@ -135,7 +135,10 @@ R_API char *r_meta_get_string(RAnal *a, int type, ut64 addr) {
|
||||
}
|
||||
|
||||
R_API int r_meta_del(RAnal *a, int type, ut64 addr, ut64 size, const char *str) {
|
||||
char key[100], key2[100], *dtr, *s, *p, *next;
|
||||
char key[100], *dtr, *s, *p, *next;
|
||||
#if 0
|
||||
char key2[100];
|
||||
#endif
|
||||
const char *ptr;
|
||||
int i;
|
||||
if (size == UT64_MAX) {
|
||||
|
@ -195,6 +195,9 @@ static int analop64_esil(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int l
|
||||
case ARM_CC_NE:
|
||||
r_strbuf_setf (&op->esil, "zf,!,{,%"PFMT64d",pc,=,}", (ut64)addr + IMM64 (0));
|
||||
break;
|
||||
default:
|
||||
//TODO
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case ARM64_INS_BL:
|
||||
|
Loading…
x
Reference in New Issue
Block a user