public List<Section> getAllSections() {
		List<Section> tmp = new ArrayList<>();
		for (SegmentCommand segment : getAllSegments()) {
			tmp.addAll(segment.getSections());
		}
		return tmp;
	}
Returns the offset of the MachHeader in the ByteProvider

@return the offset of the MachHeader in the ByteProvider
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/MachHeader.java