Closed aadsm closed 6 years ago
dumpapp stopped working for me because /proc/net/unix has two spaces to separate state from inode when the inode length is less than the maximum inode length (123 vs 1234).
E.g.:
00000000: 00000002 00000000 00010000 0001 01 76292 /dev/socket/cryptd 00000000: 00000002 00000000 00010000 0001 01 3836 @stetho_com.facebook.wakizashi_devtools_remote
We should be parsing this with \s+ and not a simple space since the output date is a table that is formatted to look like columns in the print out.
\s+
I tested this by running dumpapp in a situation like the one mentioned above.
dumpapp stopped working for me because /proc/net/unix has two spaces to separate state from inode when the inode length is less than the maximum inode length (123 vs 1234).
E.g.:
We should be parsing this with
\s+
and not a simple space since the output date is a table that is formatted to look like columns in the print out.I tested this by running dumpapp in a situation like the one mentioned above.