VirtualBox

vbox的更動 46475 路徑 trunk/src/bldprogs


忽略:
時間撮記:
2013-6-10 下午04:08:43 (11 年 以前)
作者:
vboxsync
訊息:

sans debug noise, pluss docs.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/bldprogs/VBoxDef2LazyLoad.cpp

    r46474 r46475  
    22/** @file
    33 * VBoxDef2LazyLoad - Lazy Library Loader Generator.
     4 *
     5 * @note Only tested on win.amd64.
    46 */
    57
     
    132134#define WORD_CMP(pszWord1, cchWord1, szWord2) \
    133135            ( (cchWord1) == sizeof(szWord2) - 1 && memcmp(pszWord1, szWord2, sizeof(szWord2) - 1) == 0 )
    134 fprintf(stderr,"word: %u: cchWord0=%d '%s'\n", iLine, cchWord0, psz);
    135136        if (WORD_CMP(psz, cchWord0, "EXPORTS"))
    136137        {
     
    278279
    279280
     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 */
    280289static RTEXITCODE generateOutputInner(FILE *pOutput)
    281290{
     
    493502
    494503
     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 */
    495510static RTEXITCODE generateOutput(void)
    496511{
     
    512527
    513528
     529/**
     530 * Displays usage information.
     531 *
     532 * @returns RTEXITCODE_SUCCESS.
     533 * @param   pszArgv0            The argv[0] string.
     534 */
    514535static int usage(const char *pszArgv0)
    515536{
     
    551572                g_pszLibrary = argv[i];
    552573            }
     574            /** @todo Support different load methods so this can be used on system libs and
     575             *        such if we like. */
    553576            else if (   !strcmp(psz, "--help")
    554577                     || !strcmp(psz, "-help")
     
    567590                return RTEXITCODE_SYNTAX;
    568591            }
    569 
    570592        }
    571593        else
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette