Skip to content

Commit

Permalink
bin_symbols: Add quoting (#14690)
Browse files Browse the repository at this point in the history
  • Loading branch information
ps1337 authored and radare committed Jul 29, 2019
1 parent 16a44d3 commit 7d30ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libr/core/cbin.c
Expand Up @@ -2137,11 +2137,11 @@ static int bin_symbols(RCore *r, int mode, ut64 laddr, int va, ut64 at, const ch
lastfs = 's';
}
if (r->bin->prefix) {
r_cons_printf ("f %s.sym.%s %u 0x%08" PFMT64x "\n",
r_cons_printf ("\"f %s.sym.%s %u 0x%08" PFMT64x "\"\n",
r->bin->prefix, r_bin_symbol_name (symbol), symbol->size, addr);
} else {
if (*name) {
r_cons_printf ("f sym.%s %u 0x%08" PFMT64x "\n",
r_cons_printf ("\"f sym.%s %u 0x%08" PFMT64x "\"\n",
r_bin_symbol_name (symbol), symbol->size, addr);
} else {
// we don't want unnamed symbol flags
Expand Down

0 comments on commit 7d30ff5

Please sign in to comment.