diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2020-04-03 20:11:46 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2020-04-07 16:19:49 +0100 |
| commit | 01ef6b9e4e4e84b106b7f934354eada8fe36674f (patch) | |
| tree | 12b6462e1b1d098771ee2a9ffa580b9c9f42e0bc /hw/core/generic-loader.c | |
| parent | 2f311075b7a74124098effc72290767b02869561 (diff) | |
| download | focaccia-qemu-01ef6b9e4e4e84b106b7f934354eada8fe36674f.tar.gz focaccia-qemu-01ef6b9e4e4e84b106b7f934354eada8fe36674f.zip | |
linux-user: factor out reading of /proc/self/maps
Unfortunately reading /proc/self/maps is still considered the gold standard for a process finding out about it's own memory layout. As we will want this data in other contexts soon factor out the code to read and parse the data. Rather than just blindly copying the existing sscanf based code we use a more modern glib version of the parsing code to make a more general purpose map structure. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200403191150.863-9-alex.bennee@linaro.org>
Diffstat (limited to 'hw/core/generic-loader.c')
0 files changed, 0 insertions, 0 deletions