微软 ole 格式解析完整代码

上传者: elle_rola | 上传时间: 2019-12-21 19:42:02 | 文件大小: 173KB | 文件类型: rar
/* cole - A free C OLE library. cole_extract - Extract a file from a filesystem. Copyright 1998, 1999 Roberto Arturo Tena Sanchez This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* Arturo Tena */ #include /* To compile this file outside cole source tree, you must include here instead */ #include "cole.h" #define PRGNAME "iOLE" #define BUFFER_SIZE 128 int main(int argc, char **argv) { COLEFS *cfs; COLEFILE *cf; COLERRNO colerrno; char buffer[BUFFER_SIZE]; size_t char_read; if (argc != 3) { fprintf(stderr, "cole_extract. Extract a file from a " "filesystem to the standard output.\n" "Usage: "PRGNAME" \n" " FILE - File with the filesystem.\n" " INFILE - Filename of the file to extract.\n"); exit(1); } printf("%s",argv[1]); cfs = cole_mount(argv[1], &colerrno); if (cfs == NULL) { cole_perror(PRGNAME, colerrno); exit(1); } cf = cole_fopen(cfs, argv[2], &colerrno); if (cf == NULL) { cole_perror(PRGNAME, colerrno); cole_umount(cfs, NULL); exit(1); } while ((char_read = cole_fread(cf, buffer, BUFFER_SIZE, &colerrno))) { if (fwrite(buffer, 1, char_read, stdout) != char_read) { break; } } if (!cole_feof(cf)) { cole_perror(PRGNAME, colerrno); cole_umount(cfs, NULL); exit(1); } if (cole_fclose(

文件下载

资源详情

[{"title":"( 53 个子文件 173KB ) 微软 ole 格式解析完整代码","children":[{"title":"iOLE","children":[{"title":".project <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":".cproject <span style='color:#111;'> 35.59KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"result.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"objects.mk <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"t3146 <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"text1.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"makefile <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"iOLE.exe.stackdump <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"t3148 <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"text.doc <span style='color:#111;'> 120.50KB </span>","children":null,"spread":false},{"title":"sources.mk <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"t3144 <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"ole","children":[{"title":"oledecod.o <span style='color:#111;'> 29.11KB </span>","children":null,"spread":false},{"title":"olecod.d <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"subdir.mk <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"directory.d <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"oledecod.d <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"directory.o <span style='color:#111;'> 19.59KB </span>","children":null,"spread":false},{"title":"internal.d <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"cole.d <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"support.o <span style='color:#111;'> 14.86KB </span>","children":null,"spread":false},{"title":"internal.o <span style='color:#111;'> 15.73KB </span>","children":null,"spread":false},{"title":"olecod.o <span style='color:#111;'> 47.24KB </span>","children":null,"spread":false},{"title":"support.d <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"cole.o <span style='color:#111;'> 35.81KB </span>","children":null,"spread":false}],"spread":false},{"title":"t3142 <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"t314c <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"t314a <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"iOLE.exe <span style='color:#111;'> 100.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"ole","children":[{"title":"directory.c <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"oledecod.c <span style='color:#111;'> 22.89KB </span>","children":null,"spread":false},{"title":"internal.c <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"cole.h.in <span style='color:#111;'> 7.51KB </span>","children":null,"spread":false},{"title":"internal.h <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"support.c <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"support.h <span style='color:#111;'> 7.14KB </span>","children":null,"spread":false},{"title":"olecod.c <span style='color:#111;'> 38.18KB </span>","children":null,"spread":false},{"title":"cole.h <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"cole.c <span style='color:#111;'> 30.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"data","children":[{"title":"sprsheet.xls <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"cole_isfs.c <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"cole_tree.c <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"version.c <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"file.c <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false},{"title":"text.sdw <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"cole_isfs_fast.c <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"cole_extract.c <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"filesystem.c <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"text.doc <span style='color:#111;'> 120.50KB </span>","children":null,"spread":false},{"title":"demo.c <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"sprsheet.sdc <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"present.sdd <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • xiaoxiao413413 :
    深入解析MFC(高清PDF中文版)
    2012-12-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明