vbox的更動 46475 路徑 trunk/src/bldprogs
- 時間撮記:
- 2013-6-10 下午04:08:43 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
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
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器