Merge windows and unix partial map test cases.
From peter.goodman on August 14, 2013 16:07:44
What is the problem to solve? Why is it important? Provide some context for those unfamiliar with the details of the system. Make a cross-platform partial module map test case. Right now suite/tests/win32/partial_map.c and suite/tests/client-interface/partial_module_map.c both test for partial module loads (e.g. when the app is only trying to parse ELF headers, not do a full dlopen). What are the possible approaches to solving the problem? Merge the test cases. Which approach is being taken and why? Currently the tests are separate. The Windows test appears rather complex, whereas the unix test is fairly simple. I lack experience with Windows, and so I have opted for the simpler approach of keeping the tests separate for now. Any interesting details or challenges of the implementation? Perhaps the implementation need only be as complex as a big #ifdef that chooses either the existing windows or unix test code depending on the build configuration.
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1246