Sebastian Parschauer

Results 84 comments of Sebastian Parschauer

Okay, so you're talking about the search snapshot. When loading it you can't be sure that values are still the same. So often you will find nothing in it or...

Yes, scanmem is GNU C99 as it also uses GCC compiler specifics. I think this is just because of laziness. The legacy code is still quite a mess. There are...

Please provide full reproduction steps and console output, CPU arch, device type, OS version, etc. You need around 4 bytes for a match. So for a 1 GB application, 4...

I know that Android is using a lot of Java code where the JRE `mmap()`s memory regions and just places the dynamic memory objects there. But usually unnamed regions are...

There are the `lregions` and `dregion` commands. Exclude regions you may not access or which are too big. Provide `cat /proc/$pid/maps` output for the regions with issues. Then we can...

And here are the answers: 1) Not possible like you imagine right now. The order of regions could change (dynamic mmap() munmap()) and without reading `/proc/$pid/maps` first, you have no...

V2: No need to set `spos` before reaching the stack end in the stat file. ```diff diff --git a/maps.c b/maps.c index 188431ffa9e6..7121ac8a4578 100644 --- a/maps.c +++ b/maps.c @@ -97,16 +97,16...

Verified by Coverity Scan, Valgrind, and disassembly. **Note:** Coverity Scan does not detect memory leaks caused by `getline()` for the line buffer but Valgrind does. Also Valgrind detects further leaks...

Yes, this only affects the output shown and only `scanmem`. There is a bit more work when reading the regions but only for the stack region. We get a suitable...

My proposal is the following change for a V3: ```diff diff --git a/handlers.c b/handlers.c index 0e8770608154..a1176ef1c199 100644 --- a/handlers.c +++ b/handlers.c @@ -427,7 +427,7 @@ bool handler__list(globals_t *vars, char **argv,...