This module reads and writes F</proc/[pid]/maps> files that contain listed mapped memory regions.
-=method read_maps
+=func read_maps
Read and parse a maps file, returning an arrayref of regions (each represented as a hashref). See
L</parse_maps_single_line> to see the format of the hashrefs.
return \@regions;
}
-=method write_maps
+=func write_maps
Returns a string with the contents of a maps file from the memory regions passed.
return $out;
}
-=method parse_maps_single_line
+=func parse_maps_single_line
Parse and return a single line from a maps file into a region represented as a hashref.
};
}
-=method format_maps_single_line
+=func format_maps_single_line
Return a single line for a maps file from a region represented as a hashref.