Fix duplicated symbol addTarget

This commit is contained in:
pancake 2024-09-23 18:24:19 +02:00
parent 37b2cc2baf
commit a30b405b5d
2 changed files with 59 additions and 73 deletions

View File

@ -1,92 +1,78 @@
STATIC="
"
SHARED="
arch.x86_cs
arch.8051
arch.arc
anal.null
arch.6502
arch.arm
arch.arm_cs
arch.avr
arch.bf
arch.bpf
arch.dalvik
arch.i4004
arch.i8080
arch.m68k
arch.gb
arch.mips_cs
arch.null
arch.ppc_cs
arch.ppc_gnu
arch.sh
arch.sparc
arch.tms320
arch.pyc
arch.riscv
arch.wasm
arch.x86_cs
arch.x86_nz
arch.xap
arch.z80
bin.any
bin.dex
bin.elf
bin.elf64
bin.fs
bin.mach0
bin.mach064
bin.mz
bin.p9
bin.pe
bin.pe64
bin.rar
bin.te
bin.wasm
bin_xtr.dyldcache
bin_xtr.xtr_fatmach0
bin_xtr.xtr_sep64
bp.arm
bp.null
bp.bf
bp.mips
bp.ppc
bp.x86
cmd.dummy
core.agD
core.a2f
crypto.aes
debug.bf
debug.esil
debug.gdb
debug.native
debug.rap
egg.exec
egg.xor
esil.null
esil.dummy
crypto.base64
crypto.ed25519
crypto.xor
crypto.aes
fs.posix
io.bfdbg
io.bochs
fs.io
fs.r2
fs.fat
fs.zip
fs.cpio
bin.any
bin.elf
bin.elf64
bin.dex
bin.pe
bin.wad
bin.art
bin.mz
bin.pe64
bin.mach0
bin.mach064
bin.wasm
bin_xtr.xtr_fatmach0
bin_xtr.xtr_sep64
core.agD
core.a2f
core.sixref
bp.null
bp.arm
bp.riscv
cmd.dummy
egg.xor
lang.spp
lang.pipe
debug.esil
debug.null
io.debug
io.default
io.dsc
io.ewf
io.gdb
io.haret
io.http
io.ihex
io.mach
io.malloc
io.mmap
io.procpid
io.ptrace
io.rap
io.shm
io.self
io.socket
io.sparse
io.w32
io.w32dbg
io.shm
io.zip
io.fd
io.rbuf
io.ihex
io.http
io.tcpslurp
io.null
io.default
parse.null_pseudo
parse.6502_pseudo
parse.arm_pseudo
parse.att2intel
parse.dalvik_pseudo
parse.mips_pseudo
parse.tms320_pseudo
parse.x86_pseudo
parse.wasm_pseudo
parse.z80_pseudo
"
SHARED="
parse.6502_pseudo
"

View File

@ -1,4 +1,4 @@
/* radare - Copyright 2014-2023 pancake, defragger */
/* radare - Copyright 2014-2024 pancake, defragger */
#define R_LOG_ORIGIN "a2f"
@ -101,7 +101,7 @@ static int bbAdd(Sdb *db, ut64 from, ut64 to, ut64 jump, ut64 fail) {
return 0;
}
void addTarget(RCore *core, RStack *stack, Sdb *db, ut64 addr) {
static void addTarget(RCore *core, RStack *stack, Sdb *db, ut64 addr) {
r_strf_buffer (64);
if (sdb_num_get (db, Fhandled (addr), NULL)) {
// already set