mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-05 20:50:06 +00:00
Workaround for the fatbin slice selection regression ##bin
This commit is contained in:
parent
30168a2065
commit
0fe2fab15c
@ -4393,6 +4393,10 @@ R_API bool r_core_bin_set_arch_bits(RCore *r, const char *name, const char *_arc
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!strcmp (arch, "null")) {
|
||||
free (arch);
|
||||
arch = strdup (R_SYS_ARCH);
|
||||
}
|
||||
/* Find a file with the requested name/arch/bits */
|
||||
RBinFile *binfile = r_bin_file_find_by_arch_bits (r->bin, arch, bits);
|
||||
if (!binfile) {
|
||||
|
@ -42,6 +42,7 @@ RUN
|
||||
|
||||
NAME=entitlements with rabin2
|
||||
FILE=bins/mach0/AppIOSEntitlements.ios
|
||||
ARGS=-a x86
|
||||
CMDS=!rabin2 -OC `i~file:0[1]`
|
||||
EXPECT=<<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
Loading…
Reference in New Issue
Block a user