File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ namespace DscImage {
41
41
Error *ErrorOut = nullptr ) -> ExportTrieEntryCollection;
42
42
};
43
43
44
- struct ExportTrieExportCollection :
45
- public MachO::ExportTrieExportCollection
44
+ struct ExportTrieExportCollection : public MachO ::ExportTrieExportCollection
46
45
{
47
46
protected:
48
47
explicit ExportTrieExportCollection (uint64_t ImageAddress) noexcept ;
Original file line number Diff line number Diff line change @@ -29,17 +29,20 @@ namespace Dyld3 {
29
29
[[nodiscard]] constexpr
30
30
auto segmentOffsetsRange (const bool IsBigEndian) const noexcept {
31
31
return ADT::Range::FromSizeAndCount (
32
- 0 ,
32
+ /* Begin= */ 0 ,
33
33
sizeof (uint32_t ),
34
34
this ->segmentCount (IsBigEndian)).value ();
35
35
}
36
36
37
37
[[nodiscard]] constexpr auto
38
- segmentOffset (const uint32_t I, const bool IsBigEndian) const noexcept {
38
+ segmentOffset (const uint32_t Index,
39
+ const bool IsBigEndian) const noexcept
40
+ {
39
41
assert (!
40
- Utils::IndexOutOfBounds (I, this ->segmentCount (IsBigEndian)));
42
+ Utils::IndexOutOfBounds (Index,
43
+ this ->segmentCount (IsBigEndian)));
41
44
42
- return ADT::SwitchEndianIf (this ->SegInfoOffset [I ], IsBigEndian);
45
+ return ADT::SwitchEndianIf (this ->SegInfoOffset [Index ], IsBigEndian);
43
46
}
44
47
};
45
48
Original file line number Diff line number Diff line change 1
1
/*
2
- * include/ADT/DyldSharedCacheHeaders .h
2
+ * DyldSharedCache/Headers .h
3
3
* © suhas pai
4
4
*/
5
5
Original file line number Diff line number Diff line change @@ -154,8 +154,9 @@ namespace Objects {
154
154
return DyldSharedCache::OpenError::None;
155
155
}
156
156
157
- static auto VerifyMappingList (
158
- const std::span<::DyldSharedCache::MappingInfo> &MappingSpan) noexcept
157
+ static auto
158
+ VerifyMappingList (
159
+ const std::span<::DyldSharedCache::MappingInfo> MappingSpan) noexcept
159
160
-> DyldSharedCache::OpenError
160
161
{
161
162
const auto &FirstMapping = MappingSpan.front ();
You can’t perform that action at this time.
0 commit comments