Changeset 74643 in vbox for trunk/src/VBox/Runtime/common/ldr/ldrMachO.cpp
- Timestamp:
- Oct 6, 2018 7:39:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrMachO.cpp
r74641 r74643 508 508 * @param pRdr The file reader. 509 509 * @param offImage The image header (FAT fun). 510 * @param fOpenFlags RTLDR_O_XXX. 510 511 * @param pcSegments Where to store the segment count. 511 512 * @param pcSegments Where to store the section count. … … 514 515 * @param pLinkAddress Where to store the image link address (i.e. the 515 516 * lowest segment address). 516 */ 517 static int kldrModMachOPreParseLoadCommands(uint8_t *pbLoadCommands, const mach_header_32_t *pHdr, PRTLDRREADER pRdr, RTFOFF offImage, 518 uint32_t fOpenFlags, uint32_t *pcSegments, uint32_t *pcSections, uint32_t *pcbStringPool, 519 bool *pfCanLoad, PRTLDRADDR pLinkAddress, uint8_t *puEffFileType) 517 * @param puEffFileType Where to store the effective file type. 518 */ 519 static int kldrModMachOPreParseLoadCommands(uint8_t *pbLoadCommands, const mach_header_32_t *pHdr, PRTLDRREADER pRdr, 520 RTFOFF offImage, uint32_t fOpenFlags, uint32_t *pcSegments, uint32_t *pcSections, 521 uint32_t *pcbStringPool, bool *pfCanLoad, PRTLDRADDR pLinkAddress, 522 uint8_t *puEffFileType) 520 523 { 521 524 union … … 2530 2533 * @returns IPRT status code. 2531 2534 * @param pThis The Mach-O module interpreter instance. 2535 * @param BaseAddress The module base address. 2532 2536 * @param pfnGetImport The callback for resolving an imported symbol. 2533 2537 * @param pvUser User argument to the callback. … … 2679 2683 * @param pvMapping The mapping to fixup. 2680 2684 * @param NewBaseAddress The address to fixup the mapping to. 2681 * @param OldBaseAddress The address the mapping is currently fixed up to.2682 2685 */ 2683 2686 static int kldrModMachOObjDoFixups(PKLDRMODMACHO pThis, void *pvMapping, RTLDRADDR NewBaseAddress)
Note:
See TracChangeset
for help on using the changeset viewer.