⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 help.cpp

📁 UPX 源代码
💻 CPP
📖 第 1 页 / 共 2 页
字号:
                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for atari/tos:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --all-methods       try all available compression methods\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for djgpp2/coff:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --coff              produce COFF output [default: EXE]\n"                    "  --all-methods       try all available compression methods\n"                    "  --all-filters       try all available preprocessing filters\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for dos/com:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --8086              make compressed com work on any 8086\n"                    "  --all-methods       try all available compression methods\n"                    "  --all-filters       try all available preprocessing filters\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for dos/exe:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --8086              make compressed exe work on any 8086\n"                    "  --no-reloc          put no relocations in to the exe header\n"                    "  --all-methods       try all available compression methods\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for dos/sys:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --8086              make compressed sys work on any 8086\n"                    "  --all-methods       try all available compression methods\n"                    "  --all-filters       try all available preprocessing filters\n"                    "\n");#if 0        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for linux/386\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --script             use /usr/local/lib/upx/upx[bd] as decompressor\n"                    "  --script=/path/upxX  use path/upxX as decompressor\n"                    "\n");#endif        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for ps1/exe:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --all-methods       try all available compression methods\n"                    "  --8-bit             uses 8 bit size compression [default: 32 bit]\n"                    "  --8mb-ram           8 megabyte memory limit [default: 2 mb]\n"                    "  --boot-only         disables client/host transfer compatibility\n"                    "  --no-align          don't align to 2048 bytes [enables: --console-run]\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for tmt/adam:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --all-methods       try all available compression methods\n"                    "  --all-filters       try all available preprocessing filters\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for vmlinuz/386\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --all-methods       try all available compression methods\n"                    "  --all-filters       try all available preprocessing filters\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for watcom/le:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --le                produce LE output [default: EXE]\n"                    "\n");        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"Options for win32/pe, rtm32/pe & arm/pe:\n");        fg = con_fg(f,fg);        con_fprintf(f,                    "  --compress-exports=0    do not compress the export section\n"                    "  --compress-exports=1    compress the export section [default]\n"                    "  --compress-icons=0      do not compress any icons\n"                    "  --compress-icons=1      compress all but the first icon\n"                    "  --compress-icons=2      compress all but the first icon directory [default]\n"                    "  --compress-icons=3      compress all icons\n"                    "  --compress-resources=0  do not compress any resources at all\n"                    "  --keep-resource=list    do not compress resources specified by list\n"                    "  --strip-relocs=0        do not strip relocations\n"                    "  --strip-relocs=1        strip relocations [default]\n"                    "  --all-methods           try all available compression methods\n"                    "  --all-filters           try all available preprocessing filters\n"                    "\n");    }    con_fprintf(f, "file..   executables to (de)compress\n");    if (verbose > 0)    {        fg = con_fg(f,FG_YELLOW);        con_fprintf(f,"\nThis version supports:\n");        fg = con_fg(f,fg);        show_all_packers(f, verbose);    }    else    {        con_fprintf(f,"\nType '%s --help' for more detailed help.\n", progname);    }    con_fprintf(f,"\nUPX comes with ABSOLUTELY NO WARRANTY; for details visit http://upx.sf.net\n"//                "\nUPX comes with ABSOLUTELY NO WARRANTY; for details type 'upx -L'.\n"                "");#if defined(DEBUG) || defined(TESTING)    fg = con_fg(f,FG_RED);    con_fprintf(f,"\nWARNING: this version is compiled with"#if defined(DEBUG)                " -DDEBUG"#endif#if defined(TESTING)                " -DTESTING"#endif                "\n");    fg = con_fg(f,fg);#endif    UNUSED(fg);}/*************************************************************************//**************************************************************************/void show_license(void){    FILE *f = con_term;    show_head();    con_fprintf(f,        "   This program may be used freely, and you are welcome to\n"        "   redistribute it under certain conditions.\n"        "\n"        "   This program is distributed in the hope that it will be useful,\n"        "   but WITHOUT ANY WARRANTY; without even the implied warranty of\n"        "   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"        "   UPX License Agreement for more details.\n"        "\n"        "   You should have received a copy of the UPX License Agreement\n"        "   along with this program; see the file LICENSE.\n"        "   If not, visit one of the following pages:\n"        "\n"    );    int fg = con_fg(f,FG_CYAN);    con_fprintf(f,        "        http://upx.sourceforge.net\n"        "        http://www.oberhumer.com/opensource/upx/\n"    );    (void)con_fg(f,FG_ORANGE);    con_fprintf(f,        "\n"        "   Markus F.X.J. Oberhumer              Laszlo Molnar\n"        "   <mfx@users.sourceforge.net>          <ml1050@users.sourceforge.net>\n"    );    fg = con_fg(f,fg);    UNUSED(fg);}/*************************************************************************//**************************************************************************/void show_version(int x){    FILE *fp = stdout;    const char *v;    UNUSED(x);    UNUSED(v);    fprintf(fp, "upx %s\n", UPX_VERSION_STRING);#if defined(WITH_NRV)    v = upx_nrv_version_string();    if (v != NULL && v[0])        fprintf(fp, "NRV data compression library %s\n", v);#endif#if defined(WITH_UCL)    v = upx_ucl_version_string();    if (v != NULL && v[0])        fprintf(fp, "UCL data compression library %s\n", v);#endif#if defined(WITH_ZLIB)    v = upx_zlib_version_string();    if (v != NULL && v[0])        fprintf(fp, "zlib data compression library %s\n", v);#endif#if defined(WITH_LZMA)    v = upx_lzma_version_string();    if (v != NULL && v[0])        fprintf(fp, "LZMA SDK version %s\n", v);#endif    fprintf(fp, "Copyright (C) 1996-2007 Markus Franz Xaver Johannes Oberhumer\n");    fprintf(fp, "Copyright (C) 1996-2007 Laszlo Molnar\n");    fprintf(fp, "Copyright (C) 2000-2007 John F. Reiser\n");    fprintf(fp, "Copyright (C) 2002-2007 Jens Medoch\n");#if defined(WITH_ZLIB)    fprintf(fp, "Copyright (C) 1995" "-2005 Jean-loup Gailly and Mark Adler\n");#endif#if defined(WITH_LZMA)    fprintf(fp, "Copyright (C) 1999" "-2006 Igor Pavlov\n");#endif    fprintf(fp, "UPX comes with ABSOLUTELY NO WARRANTY; for details type '%s -L'.\n", progname);}/*vi:ts=4:et:nowrap*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -