Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Francesco Tamagni | 8f7c5ee4f3 | |
Francesco Tamagni | 811cd8f251 | |
Francesco Tamagni | 74bf07c23e | |
pancake | 1bb62fcd0b | |
pancake | 8d81eb7f8e |
|
@ -12261,7 +12261,7 @@ static void cmd_anal_graph(RCore *core, const char *input) {
|
|||
{
|
||||
core->graph->is_callgraph = true;
|
||||
r_core_cmdf (core, "ag-;.agR*;");
|
||||
r_core_agraph_print(core, -1, input + 1);
|
||||
r_core_agraph_print (core, -1, input + 1);
|
||||
core->graph->is_callgraph = false;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* radare - LGPL - Copyright 2008-2023 - mrmacete, pancake */
|
||||
/* radare - LGPL - Copyright 2008-2024 - mrmacete, pancake */
|
||||
|
||||
#include <r_io.h>
|
||||
#include <r_lib.h>
|
||||
|
@ -1059,10 +1059,17 @@ static RDSCHeader * r_io_dsc_read_header(int fd, ut64 offset) {
|
|||
}
|
||||
|
||||
static bool is_valid_magic(ut8 magic[16]) {
|
||||
return !strcmp ((char *) magic, "dyld_v1 arm64")
|
||||
|| !strcmp ((char *) magic, "dyld_v1 arm64e")
|
||||
|| !strcmp ((char *) magic, "dyld_v1 x86_64")
|
||||
|| !strcmp ((char *) magic, "dyld_v1 x86_64h");
|
||||
const char * ma = (const char *)magic;
|
||||
if (r_str_startswith (ma, "dyld_v1 ")) {
|
||||
const size_t off = strlen ("dyld_v1 ");
|
||||
const size_t left = 16 - off;
|
||||
return 0 \
|
||||
|| !strncmp (ma + off, " arm64", left)
|
||||
|| !strncmp (ma + off, " arm64e", left)
|
||||
|| !strncmp (ma + off, " x86_64", left)
|
||||
|| !strncmp (ma + off, "x86_64h", left);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool is_null_uuid(ut8 uuid[16]) {
|
||||
|
|
Loading…
Reference in New Issue