Changeset 46475 in vbox for trunk/src/bldprogs/VBoxDef2LazyLoad.cpp
- Timestamp:
- Jun 10, 2013 4:08:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/VBoxDef2LazyLoad.cpp
r46474 r46475 2 2 /** @file 3 3 * VBoxDef2LazyLoad - Lazy Library Loader Generator. 4 * 5 * @note Only tested on win.amd64. 4 6 */ 5 7 … … 132 134 #define WORD_CMP(pszWord1, cchWord1, szWord2) \ 133 135 ( (cchWord1) == sizeof(szWord2) - 1 && memcmp(pszWord1, szWord2, sizeof(szWord2) - 1) == 0 ) 134 fprintf(stderr,"word: %u: cchWord0=%d '%s'\n", iLine, cchWord0, psz);135 136 if (WORD_CMP(psz, cchWord0, "EXPORTS")) 136 137 { … … 278 279 279 280 281 /** 282 * Generates the assembly source code, writing it to @a pOutput. 283 * 284 * @returns RTEXITCODE_SUCCESS or RTEXITCODE_FAILURE, in the latter case full 285 * details has been displayed. 286 * @param pOutput The output stream (caller checks it for errors 287 * when closing). 288 */ 280 289 static RTEXITCODE generateOutputInner(FILE *pOutput) 281 290 { … … 493 502 494 503 504 /** 505 * Generates the assembly source code, writing it to g_pszOutput. 506 * 507 * @returns RTEXITCODE_SUCCESS or RTEXITCODE_FAILURE, in the latter case full 508 * details has been displayed. 509 */ 495 510 static RTEXITCODE generateOutput(void) 496 511 { … … 512 527 513 528 529 /** 530 * Displays usage information. 531 * 532 * @returns RTEXITCODE_SUCCESS. 533 * @param pszArgv0 The argv[0] string. 534 */ 514 535 static int usage(const char *pszArgv0) 515 536 { … … 551 572 g_pszLibrary = argv[i]; 552 573 } 574 /** @todo Support different load methods so this can be used on system libs and 575 * such if we like. */ 553 576 else if ( !strcmp(psz, "--help") 554 577 || !strcmp(psz, "-help") … … 567 590 return RTEXITCODE_SYNTAX; 568 591 } 569 570 592 } 571 593 else
Note:
See TracChangeset
for help on using the changeset viewer.