| Index: util/mac/mach_o_image_segment_reader.h
|
| diff --git a/util/mac/mach_o_image_segment_reader.h b/util/mac/mach_o_image_segment_reader.h
|
| index 66fab9a832aa59e2ca6cdada3d3c03ee2f51c0a6..185bc63168e208e0c912556dc8332b21257129a6 100644
|
| --- a/util/mac/mach_o_image_segment_reader.h
|
| +++ b/util/mac/mach_o_image_segment_reader.h
|
| @@ -140,6 +140,13 @@ class MachOImageSegmentReader {
|
| //! \sa MachOImageReader::GetSectionAtIndex()
|
| const process_types::section* GetSectionAtIndex(size_t index) const;
|
|
|
| + //! Returns whether the segment slides.
|
| + //!
|
| + //! Most segments slide, but the __PAGEZERO segment does not, it grows
|
| + //! instead. This method identifies non-sliding segments in the same way that
|
| + //! the kernel does.
|
| + bool SegmentSlides() const;
|
| +
|
| //! \brief Returns a segment name string.
|
| //!
|
| //! Segment names may be 16 characters long, and are not necessarily
|
|
|