public class LcUuidContentsScrubber extends Object implements FileContentsScrubber
FileScrubber.ScrubException| Constructor and Description |
|---|
LcUuidContentsScrubber(boolean scrubConcurrently) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
resetUuidIfPresent(MappedByteBuffer map)
Sets the LC_UUID to all zeroes if it's part of the Mach-O file.
|
void |
scrubFile(FileChannel file)
Override this method to perform the content modification.
|
public void scrubFile(FileChannel file) throws IOException, FileScrubber.ScrubException
FileContentsScrubberscrubFile in interface FileContentsScrubberIOExceptionFileScrubber.ScrubExceptionprotected static void resetUuidIfPresent(MappedByteBuffer map) throws FileScrubber.ScrubException
FileScrubber.ScrubException