We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25bfeb1 commit 6eaebe4Copy full SHA for 6eaebe4
libr/core/canal.c
@@ -42,9 +42,6 @@ static RVecRCoreSecRange *r_core_get_sec_ranges(RCore *core) {
42
return priv->sec_ranges;
43
}
44
RVecRCoreSecRange *sr = RVecRCoreSecRange_new ();
45
- if (!sr) {
46
- return NULL;
47
- }
48
RBin *bin = core->bin;
49
int va = core->io->va;
50
RListIter *iter;
@@ -65,10 +62,12 @@ static RVecRCoreSecRange *r_core_get_sec_ranges(RCore *core) {
65
62
if (to <= from) {
66
63
continue;
67
64
+#if 0
68
// Skip writable sections unless they contain strings
69
if ((section->perm & R_PERM_W) && !section->has_strings) {
70
71
+#endif
72
RCoreSecRange r = {
73
.from = from,
74
.to = to,
0 commit comments