Skip to content

Commit

Permalink
Fix #21823 - tag static elfs as non libinjectables ##bin
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jun 3, 2023
1 parent 6ed6b59 commit 8ee8b01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libr/bin/p/bin_elf.inc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,9 @@ static RBinInfo* info(RBinFile *bf) {
}
if (Elf_(is_static) (obj)) {
ret->dbg_info |= R_BIN_DBG_STATIC;
#if R2_590
ret->has_libinjprot = true;
#endif
}
lookup_sections (bf, ret);
lookup_symbols (bf, ret);
Expand Down

0 comments on commit 8ee8b01

Please sign in to comment.