|
|
@ -131,12 +131,12 @@ void Process::getMemRanges( vector<t_memrange> & ranges )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
t_memrange temp;
|
|
|
|
t_memrange temp;
|
|
|
|
temp.name[0] = 0;
|
|
|
|
temp.name[0] = 0;
|
|
|
|
sscanf(buffer, "%zx-%zx %s %zx %2zu:%2zu %zu %[^\n]s",
|
|
|
|
sscanf(buffer, "%zx-%zx %s %zx %2zx:%2zx %zu %[^\n]",
|
|
|
|
&start,
|
|
|
|
&start,
|
|
|
|
&end,
|
|
|
|
&end,
|
|
|
|
(char*)&permissions,
|
|
|
|
(char*)&permissions,
|
|
|
|
&offset, &device1, &device2, &node,
|
|
|
|
&offset, &device1, &device2, &node,
|
|
|
|
(char*)&temp.name);
|
|
|
|
(char*)temp.name);
|
|
|
|
temp.start = (void *) start;
|
|
|
|
temp.start = (void *) start;
|
|
|
|
temp.end = (void *) end;
|
|
|
|
temp.end = (void *) end;
|
|
|
|
temp.read = permissions[0] == 'r';
|
|
|
|
temp.read = permissions[0] == 'r';
|
|
|
|