Skip to content

Commit

Permalink
Fix race condition with ARC in the section info map - this is the rea…
Browse files Browse the repository at this point in the history
…son why most of binding info would miss the section names and probably any other place using this map.
  • Loading branch information
gdbinit committed May 18, 2023
1 parent a1908eb commit 8956d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MachOLayout.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef std::vector<uint32_t const *> IndirectSymbolVector;

typedef std::map<uint32_t,std::pair<uint64_t,uint64_t> > RelocMap; // fileOffset --> <length,value>
typedef std::map<uint64_t,std::pair<uint64_t,uint64_t> > SegmentInfoMap; // fileOffset --> <address,size>
typedef std::map<uint64_t,std::pair<uint64_t,NSDictionary * __weak> > SectionInfoMap; // address --> <fileOffset,sectionUserInfo>
typedef std::map<uint64_t,std::pair<uint64_t,NSDictionary *> > SectionInfoMap; // address --> <fileOffset,sectionUserInfo>
typedef std::map<uint64_t,uint64_t> ExceptionFrameMap; // LSDA_addr --> PCBegin_addr

@interface MachOLayout : MVLayout
Expand Down

0 comments on commit 8956d51

Please sign in to comment.