Skip to content

Commit

Permalink
used
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 13, 2025
1 parent 4593296 commit 9e3e56f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libr/bin/dbginfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,8 @@ static bool addr2line_from_sdb(RBin *bin, ut64 addr, char *file, int len, int *l
R_API bool r_bin_addr2line(RBin *bin, ut64 addr, char *file, int len, int *line, int *column) {
R_RETURN_VAL_IF_FAIL (bin, false);

if (bin->cur && bin->cur->addrline.storage) {
if (bin->cur && bin->cur->addrline.used) {
RBinAddrLineStore *als = &bin->cur->addrline;
eprintf ("Hander2\n");
RBinDbgItem *item = als->al_get (als, addr);
if (item) {
// TODO: honor path
Expand Down Expand Up @@ -278,7 +277,6 @@ R_API char *r_bin_addr2fileline(RBin *bin, ut64 addr) {
char file[1024];
int line = 0;
int colu = -1;
eprintf ("PENE\n");
if (r_bin_addr2line (bin, addr, file, sizeof (file) - 1, &line, &colu)) {
const char *file_nopath = r_file_basename (file);
if (colu > 0) {
Expand Down

0 comments on commit 9e3e56f

Please sign in to comment.