Changeset 2843 for trunk/kLdr/kLdr.h
- Timestamp:
- Oct 30, 2006, 5:16:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.h
r2842 r2843 545 545 /** Returns ALL kinds of symbols. The default is to only return public/exported symbols. */ 546 546 #define KLDRMOD_ENUM_SYMBOL_FLAGS_ALL 0x00000001 547 /** Do a recursive initialization calls instead of defering them to the outermost call. */548 #define KLDRDYLD_LOAD_FLAGS_RECURSIVE_INIT 0x00000002549 547 /** @} */ 550 548 … … 628 626 * typical used when loading import/dep modules. */ 629 627 #define KLDRYDLD_LOAD_FLAGS_SPECIFIC_MODULE 0x00000002 630 /** @todo more to come. */ 631 /** @} */ 632 633 634 int kLdrDyldLoad(const char *pszDll, const char *pszDefPrefix, const char *pszDefSuffix, KLDRDYLDSEARCH enmSearch, 628 /** Do a recursive initialization calls instead of defering them to the outermost call. */ 629 #define KLDRDYLD_LOAD_FLAGS_RECURSIVE_INIT 0x00000004 630 /** We're loading the executable module. 631 * Internal flag which will be rejected by kLdrDyldLoad. */ 632 #define KLDRDYLD_LOAD_FLAGS_EXECUTABLE 0x40000000 633 /** @} */ 634 635 636 int kLdrDyldLoad(const char *pszDll, const char *pszPrefix, const char *pszSuffix, KLDRDYLDSEARCH enmSearch, 635 637 unsigned fFlags, PHKLDRMOD phMod, char *pszErr, size_t cchErr); 636 638 int kLdrDyldUnload(HKLDRMOD hMod); 637 int kLdrDyldFindByName(const char *pszDll, const char *psz DefPrefix, const char *pszDefSuffix, KLDRDYLDSEARCH enmSearch,639 int kLdrDyldFindByName(const char *pszDll, const char *pszPrefix, const char *pszSuffix, KLDRDYLDSEARCH enmSearch, 638 640 unsigned fFlags, PHKLDRMOD phMod); 639 641 int kLdrDyldFindByAddress(uintptr_t Address, PHKLDRMOD phMod, uint32_t *piSegment, uintptr_t *poffSegment); … … 691 693 /** Flags. (Currently unused, MBZ.) */ 692 694 uint32_t fFlags; 695 /** The search method to use when loading this executable. */ 696 KLDRDYLDSEARCH enmSearch; 693 697 /** The executable file that the stub is supposed to load. */ 694 698 char szExecutable[260]; 699 /** The default prefix used when searching for DLLs. */ 700 char szDefPrefix[16]; 701 /** The default suffix used when searching for DLLs. */ 702 char szDefSuffix[16]; 695 703 /** The LD_LIBRARY_PATH prefix for the process.. */ 696 char szLibPath[4096 - 260 - sizeof(uint32_t)];704 char szLibPath[4096 - sizeof(uint32_t) - sizeof(KLDRDYLDSEARCH) - 16 - 16 - 260]; 697 705 } KLDREXEARGS, *PKLDREXEARGS; 698 706
Note:
See TracChangeset
for help on using the changeset viewer.