@adamsitnik has suggested we create a unit test that validates the new parsing logic using a fixed maps file input. We would need to include the implementation source files in the test project given that they are internal.
Originally posted by @eiriktsarpalis in #45401 (comment)
Cf.
|
private static IEnumerable<ParsedMapsModule> ParseMapsModulesCore(IEnumerable<string> lines) |
@adamsitnik has suggested we create a unit test that validates the new parsing logic using a fixed
mapsfile input. We would need to include the implementation source files in the test project given that they are internal.Originally posted by @eiriktsarpalis in #45401 (comment)
Cf.
runtime/src/libraries/Common/src/Interop/Linux/procfs/Interop.ProcFsStat.cs
Line 129 in 738dcf7