利用ccstudio提供的工具解析出coff文件
2011-11-26 14:08
417 查看
利用ccstudio提供的工具解析出coff文件
文件路径 : CCStudio_v3.3\C6000\cgtools\bin\ofd6x.exe
命令参数:
ofd6x.exe -g main.obj > main.txt
main.obj只需要编译过就对,不一定需要链接通过。、
main.obj文件的源代码:
文件路径 : CCStudio_v3.3\C6000\cgtools\bin\ofd6x.exe
命令参数:
ofd6x.exe -g main.obj > main.txt
main.obj只需要编译过就对,不一定需要链接通过。、
main.obj文件的源代码:
//#if 0 //#ifdef __cplusplus //#if __cplusplus //extern "C" { //#endif /* __cpluscplus */ //#endif /* __cpluscplus */ //#pragma DATA_SECTION(g_array,".whatfuck") int *p_1; int **p_2; #pragma DATA_SECTION(p_3, ".whatfuck") int *p_3[10]; #pragma DATA_SECTION(p_4, ".whatfuck") int (*p_4)[10]; #pragma DATA_SECTION(p_5, ".whatfuck") int **p_5[10]; #pragma DATA_SECTION(pFun5, ".whatfuck") int (*pFun5[100])(int a1, char a2); int ts_a = 0; #pragma DATA_SECTION(pFun6, ".whatfuck") void (*pFun6[100])(int a); //def type ??? #pragma DATA_SECTION(g_array_5, ".whatfuck") char g_array_5[] = "shit!shit!"; #pragma DATA_SECTION(ccc, ".whatfuck") int ccc = 7; //def type?? #pragma DATA_SECTION(charss, ".whatfuck") char charss[] = "what's up"; #pragma DATA_SECTION(gggg,".whatfuck") char gggg; #pragma DATA_SECTION(structa,".whatfuck") struct aaa{ char b; }structa; #pragma DATA_SECTION(dddd,".whatfuck") char dddd = 'z'; #pragma DATA_SECTION(g_arra1,".whatfuck") char g_arra1[3] = "fc"; #pragma DATA_SECTION(int_test1,".whatfuck") int int_test1 = 0xAAAAAAAA; #pragma DATA_SECTION(g_arra2,".whatfuck") char g_arra2[5]; #pragma DATA_SECTION(int_test2,".whatfuck") int int_test2 = 0xAAAAAAAA; #pragma DATA_SECTION(g_arra3,".whatfuck") char g_arra3[9]; #pragma DATA_SECTION(int_test3,".whatfuck") int int_test3 = 0xAAAAAAAA; #pragma DATA_SECTION(g_arra4,".whatfuck") char g_arra4[1]; char g_mut_array[100][100][100]; typedef int (*func1)(int, char, long); func1 g_func1[100][200]; int* (*func2[20])(int, char); //char g_array_5[] = "shit!shit!"; //int ccc = 7; //char charss[] = "what's up"; //#pragma DATA_SECTION(test,".whatfuck") void test( ) { // memset(g_array, 0xFF, sizeof(g_array)); // CheckGlobleVars(pFun6, 100*4, 1, 1); InitList(); } void test2() { int i = 0; char szString[1024]; memset(szString, 0, 1024); for (i = 0; i < 1024; i ++) { szString[i] = i; } } #pragma DATA_SECTION(int_test3,".whatfuck") int a[3]; int main() { test(); return 1; } #ifdef __cplusplus #if __cplusplus } #endif /* __cpluscplus */ #endif /* __cpluscplus */ //#endif
相关文章推荐
- CocosStudio文件解析工具CsdAnalysis
- ms js利用ado.stream+msxml进行二进制读文件转base64字符输出与反转(提供工具)
- java语言连接mysql数据库并利用XML解析工具DOM生成XML文件,然后利用DOM SAX对所生成XML文件里的详细信息进行解析
- 《JavaWeb---简单应用---服务器向客户端提供音乐资源(三)》--- 利用struts实现文件下载,下载时改变文件的名称
- 利用Visual Studio .Net集成开发环境进行批量文件中的字符替换
- Android Studio利用Gradle删除没有使用到的资源文件
- 利用宏让ERStudio生成代码文件
- Spring提供的DomUtils解析工具
- 使用ofd6x工具解析elf文件
- 求如何利用struts2从本地解析一个cvs文件并显示在页面上
- C++利用CMarkup来解析xml文件
- 利用php缓冲区解析模板文件
- java连接oracle数据库(利用MyEclipse开发工具反向生成 bean与配置文件)
- Android 开源项目android-open-project工具库解析之(二) 高版本向低版本兼容,多媒体相关,事件总线(订阅者模式),传感器,安全,插件化,文件
- 最终版-perl工具解析数据库的报告文件0120
- 利用gulp工具来压缩css文件
- 利用RequestDispatcher实现文件下载,支持下载工具
- 用C语言实现解析简单配置文件的小工具
- 利用python对csv文件的log解析
- Kaldi .cc文件的命令行解析