Skip to content

Commit 6eaebe4

Browse files
committed
fif
1 parent 25bfeb1 commit 6eaebe4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libr/core/canal.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ static RVecRCoreSecRange *r_core_get_sec_ranges(RCore *core) {
4242
return priv->sec_ranges;
4343
}
4444
RVecRCoreSecRange *sr = RVecRCoreSecRange_new ();
45-
if (!sr) {
46-
return NULL;
47-
}
4845
RBin *bin = core->bin;
4946
int va = core->io->va;
5047
RListIter *iter;
@@ -65,10 +62,12 @@ static RVecRCoreSecRange *r_core_get_sec_ranges(RCore *core) {
6562
if (to <= from) {
6663
continue;
6764
}
65+
#if 0
6866
// Skip writable sections unless they contain strings
6967
if ((section->perm & R_PERM_W) && !section->has_strings) {
7068
continue;
7169
}
70+
#endif
7271
RCoreSecRange r = {
7372
.from = from,
7473
.to = to,

0 commit comments

Comments
 (0)