- Fix x86.olly plugin
This commit is contained in:
Nibble 2010-03-19 13:51:28 +01:00
parent d48e80fac9
commit e0635a8beb
2 changed files with 3 additions and 3 deletions

View File

@ -288,8 +288,8 @@ static void Scanasm(int mode) {
while (*asmcmd==' ' || *asmcmd=='\t') asmcmd++;
return; };
// XXX YES: we force radix=10 by default
if (base==0) { //*asmcmd=='.') { // Force decimal number
// XXX We must force base 10 by default
if (*asmcmd=='.') { // Force decimal number
if (base==16 || maxdigit>9) {
asmerror="Not a decimal number"; scan=SCAN_ERR; return; };
asmcmd++;

View File

@ -113,7 +113,7 @@ enum {
R_ANAL_RET_END = -4
};
typedef RAnal {
typedef struct r_anal_t {
int bits;
int big_endian;
void *user;