mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-02 19:55:14 +00:00
fixing windows types (#5308)
This commit is contained in:
parent
b353733041
commit
46b0e3f48e
@ -7,6 +7,7 @@ F+= windows-x86-32
|
||||
F+= windows-x86-64
|
||||
F+= types-x86-32
|
||||
F+= types-x86-64
|
||||
F+= windows-types
|
||||
include $(TOP)/config-user.mk
|
||||
HOST_CC?=gcc
|
||||
|
||||
|
@ -25,13 +25,14 @@ type.int=d
|
||||
type.long=x
|
||||
type.long long=q
|
||||
type.void *=p
|
||||
type.char=b
|
||||
type.char=c
|
||||
type.char *=*z
|
||||
type.const char*=*z
|
||||
type.uint8_t=b
|
||||
type.int16_t=w
|
||||
type.int32_t=d
|
||||
type.int64_t=q
|
||||
type.uint16_t=w
|
||||
type.uint32_t=d
|
||||
type.uint64_t=q
|
||||
type.int8_t=b
|
||||
type.int16_t=w
|
||||
type.int32_t=d
|
||||
type.int64_t=q
|
||||
|
@ -25,10 +25,14 @@ type.int=d
|
||||
type.long=x
|
||||
type.long long=q
|
||||
type.void *=p
|
||||
type.char=b
|
||||
type.char=c
|
||||
type.char *=*z
|
||||
type.const char*=*z
|
||||
type.uint8_t=b
|
||||
type.uint16_t=w
|
||||
type.uint32_t=d
|
||||
type.uint64_t=q
|
||||
type.int8_t=b
|
||||
type.int16_t=w
|
||||
type.int32_t=d
|
||||
type.int64_t=q
|
||||
|
@ -25,13 +25,14 @@ type.int=d
|
||||
type.long=x
|
||||
type.long long=q
|
||||
type.void *=p
|
||||
type.char=b
|
||||
type.char=c
|
||||
type.char *=*z
|
||||
type.const char*=*z
|
||||
type.uint8_t=b
|
||||
type.int16_t=w
|
||||
type.int32_t=d
|
||||
type.int64_t=q
|
||||
type.uint16_t=w
|
||||
type.uint32_t=d
|
||||
type.uint64_t=q
|
||||
type.int8_t=b
|
||||
type.int16_t=w
|
||||
type.int32_t=d
|
||||
type.int64_t=q
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -450,8 +450,7 @@ static int bin_info(RCore *r, int mode) {
|
||||
if (info->os && !strcmp (info->os, "windows")) {
|
||||
char *dbpath;
|
||||
Sdb *db;
|
||||
#define TYPESPATH R2_LIBDIR"/radare2/"R2_VERSION"/fcnsign"
|
||||
dbpath = sdb_fmt (-1, TYPESPATH"/windows-x86-%d.sdb", r->anal->bits);
|
||||
dbpath = R2_LIBDIR"/radare2/"R2_VERSION"/fcnsign/windows-types.sdb";
|
||||
if (r_file_exists (dbpath)) {
|
||||
db = sdb_new (0, dbpath, 0);
|
||||
sdb_merge (r->anal->sdb_types, db);
|
||||
|
Loading…
x
Reference in New Issue
Block a user