Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdrgn: detect flattened vmcores and raise error
The makedumpfile flattened format is occasionally seen by users, but is not read by libkdumpfile and thus unsupported by Drgn. A simple 'reassembly' process is all that is necessary to allow Drgn to open the vmcore, but this fact isn't easily discoverable, resulting in issues like #344. To help users, detect this when we're testing for kdump signatures, and raise an error with reassembly instructions. For further details on the flattened format, consult makedumpfile(8), particularly the sections documenting options -F and -R. Signed-off-by: Stephen Brennan <[email protected]>
- Loading branch information