Skip to content

Commit 25bfeb1

Browse files
committed
fi
1 parent 7eed52f commit 25bfeb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libr/core/canal.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ static RVecRCoreSecRange *r_core_get_sec_ranges(RCore *core) {
6565
if (to <= from) {
6666
continue;
6767
}
68-
if (section->perm & R_PERM_W) {
68+
// Skip writable sections unless they contain strings
69+
if ((section->perm & R_PERM_W) && !section->has_strings) {
6970
continue;
7071
}
7172
RCoreSecRange r = {

0 commit comments

Comments
 (0)