lib/mapfiles/map-file-vs.js
/**
     * Tries to match the given line to code segment information
     *  Matches in order:
     *   1. segment offset info
     *   2. code segment delphi map
     *   3. icode segment delphi map
     *   4. code segment vs map
     *
     * @param {string} line
     */
Tries to match the given line to code segment information
Matches in order:
1. segment offset info
2. code segment delphi map
3. icode segment delphi map
4. code segment vs map

@param {string} line
Tries to match the given line to code segment information Matches in order : 1 . segment offset info 2 . code segment delphi map 3 . icode segment delphi map 4 . code segment vs map @param { string } line
tryReadingCodeSegmentInfo(line) {
        let codesegmentObject = false;
        const matches = line.match(this.regexVsCodeSegment);
        if (matches) {
            codesegmentObject = this.addressToObject(matches[1], matches[2]);
            codesegmentObject.id = this.segments.length + 1;
            codesegmentObject.segmentLength = parseInt(matches[3], 16);
            codesegmentObject.unitName = false;
            this.segments.push(codesegmentObject);
        }
    }
tryReadingCodeSegmentInfo ( line ) { let codesegmentObject = false ; const matches = line . match ( this . regexVsCodeSegment ) ; if ( matches ) { codesegmentObject = this . addressToObject ( matches [ 1 ] , matches [ 2 ] ) ; codesegmentObject . id = this . segments . length + 1 ; codesegmentObject . segmentLength = parseInt ( matches [ 3 ] , 16 ) ; codesegmentObject . unitName = false ; this . segments . push ( codesegmentObject ) ; } }
Tries to match the given line to code segment information
  Matches in order:
   1. segment offset info
   2. code segment delphi map
   3. icode segment delphi map
   4. code segment vs map
Tries to match the given line to code segment information Matches in order : 1 . segment offset info 2 . code segment delphi map 3 . icode segment delphi map 4 . code segment vs map