Dr.Deamon64 Git-Repository
(2014/03/01- Main-Repository: migrate from cvs)
リビジョン | 1467186d88c455591e8f2a2d16d342c2fce290e2 (tree) |
---|---|
日時 | 2018-10-13 21:07:57 |
作者 | Koine Yuusuke(koinec) <koinec@user...> |
コミッター | Koine Yuusuke(koinec) |
2018/10/13(Sat) 21:08
@@ -52,7 +52,6 @@ OBJS = drd64_libgoblin_api.o \ | ||
52 | 52 | drd64_libgoblin_binfo.o \ |
53 | 53 | drd64_libgoblin_binaryfile.o \ |
54 | 54 | drd64_libgoblin_checkbin.o \ |
55 | - drd64_libgoblin_analyze.o \ | |
56 | 55 | drd64_libgoblin_readbin.o \ |
57 | 56 | drd64_libgoblin_loadprog.o \ |
58 | 57 | drd64_libgoblin_symwork.o \ |
@@ -77,7 +76,6 @@ HEADER = drd64_libgoblin.h \ | ||
77 | 76 | drd64_libgoblin_binfo.h \ |
78 | 77 | drd64_libgoblin_binaryfile.h \ |
79 | 78 | drd64_libgoblin_checkbin.h \ |
80 | - drd64_libgoblin_analyze.h \ | |
81 | 79 | drd64_libgoblin_readbin.h \ |
82 | 80 | drd64_libgoblin_loadprog.h \ |
83 | 81 | drd64_libgoblin_symwork.h \ |
@@ -141,9 +139,6 @@ drd64_libgoblin_binaryfile.o: drd64_libgoblin_binaryfile.c $(HEADER) | ||
141 | 139 | drd64_libgoblin_checkbin.o: drd64_libgoblin_checkbin.c $(HEADER) |
142 | 140 | $(CC) -c -o drd64_libgoblin_checkbin.o $(FLAGS_DEBUG) \ |
143 | 141 | drd64_libgoblin_checkbin.c |
144 | -drd64_libgoblin_analyze.o: drd64_libgoblin_analyze.c $(HEADER) | |
145 | - $(CC) -c -o drd64_libgoblin_analyze.o $(FLAGS_DEBUG) \ | |
146 | - drd64_libgoblin_analyze.c | |
147 | 142 | drd64_libgoblin_readbin.o: drd64_libgoblin_readbin.c $(HEADER) |
148 | 143 | $(CC) -c -o drd64_libgoblin_readbin.o $(FLAGS_DEBUG) \ |
149 | 144 | drd64_libgoblin_readbin.c |
@@ -74,7 +74,6 @@ Comment: | ||
74 | 74 | #include"drd64_libgoblin_binfo.h" |
75 | 75 | #include"drd64_libgoblin_binaryfile.h" |
76 | 76 | #include"drd64_libgoblin_checkbin.h" |
77 | -#include"drd64_libgoblin_analyze.h" | |
78 | 77 | #include"drd64_libgoblin_readbin.h" |
79 | 78 | #include"drd64_libgoblin_loadprog.h" |
80 | 79 | #include"drd64_libgoblin_symwork.h" |
@@ -1,76 +0,0 @@ | ||
1 | -/*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64 | |
2 | - | |
3 | - D r . D e a m o n 6 4 | |
4 | - for INTEL64(R), AMD64(R) | |
5 | - | |
6 | - Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved. | |
7 | - | |
8 | -Redistribution and use in source and binary forms, with or without | |
9 | -modification, are permitted provided that the following conditions are met: | |
10 | - | |
11 | - 1. Redistributions of source code must retain the above copyright notice, | |
12 | - this list of conditions and the following disclaimer. | |
13 | - 2. Redistributions in binary form must reproduce the above copyright | |
14 | - notice, this list of conditions and the following disclaimer in the | |
15 | - documentation and/or other materials provided with the distribution. | |
16 | - | |
17 | -THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY | |
18 | -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
19 | -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
20 | -DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE | |
21 | -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
22 | -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
23 | -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
24 | -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
25 | -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
26 | -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
27 | -OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | - | |
29 | -DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/ | |
30 | - | |
31 | -/* File Info ----------------------------------------------------------- | |
32 | -File: drd64_.c | |
33 | -Function: | |
34 | -Comment: | |
35 | -----------------------------------------------------------------------*/ | |
36 | - | |
37 | -#define DRD64_SRC_LIBGOBLIN_ANALYZE | |
38 | -#include"drd64_libgoblin.h" | |
39 | - | |
40 | - | |
41 | - | |
42 | -/*---------------------------------------------------------------------- | |
43 | -----------------------------------------------------------------------*/ | |
44 | -LIBGOBLIN_ANALYZE_EXTERN | |
45 | -int | |
46 | - LibGoblin_AnalyzeBinary( | |
47 | - LibGoblin_BinaryInfo *p_binfo ) | |
48 | -{ | |
49 | - int i_result = 0x00; | |
50 | - LibGoblin_BinaryFile *p_bfile; | |
51 | - | |
52 | - assert( NULL != p_binfo ); | |
53 | - | |
54 | - p_bfile = p_binfo->p_binfile; | |
55 | - assert( NULL != p_bfile ); | |
56 | - | |
57 | - /* Check binaryfile is ELF file */ | |
58 | - if( 0x00 == (DRD64_LIBFILETYPE_SUB_ELF & p_bfile->t_ftype.w_subtype) ) { | |
59 | - return 0x01; | |
60 | - } | |
61 | - | |
62 | - /* Analyze ELF & Debug-Info. ---*/ | |
63 | - //i_result = LibGoblin_AnalyzeElf( p_binfo, i_analyzefid ); | |
64 | - i_result = LibGoblin_Elf_ReadELF_Phase1( p_binfo ); | |
65 | - if( 0x00 != i_result ) { | |
66 | - return 0x03; | |
67 | - } | |
68 | - | |
69 | - i_result = LibGoblin_Elf_ReadELF_Phase2( p_binfo ); | |
70 | - | |
71 | - return i_result; | |
72 | -} | |
73 | - | |
74 | - | |
75 | - | |
76 | -/* EOF of drd64_.c ----------------------------------- */ |
@@ -1,56 +0,0 @@ | ||
1 | -/*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64 | |
2 | - | |
3 | - D r . D e a m o n 6 4 | |
4 | - for INTEL64(R), AMD64(R) | |
5 | - | |
6 | - Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved. | |
7 | - | |
8 | -Redistribution and use in source and binary forms, with or without | |
9 | -modification, are permitted provided that the following conditions are met: | |
10 | - | |
11 | - 1. Redistributions of source code must retain the above copyright notice, | |
12 | - this list of conditions and the following disclaimer. | |
13 | - 2. Redistributions in binary form must reproduce the above copyright | |
14 | - notice, this list of conditions and the following disclaimer in the | |
15 | - documentation and/or other materials provided with the distribution. | |
16 | - | |
17 | -THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY | |
18 | -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
19 | -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
20 | -DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE | |
21 | -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
22 | -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
23 | -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
24 | -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
25 | -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
26 | -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
27 | -OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | - | |
29 | -DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/ | |
30 | - | |
31 | -/* File Info ----------------------------------------------------------- | |
32 | -File: drd64_.h | |
33 | -Function: Header | |
34 | -Comment: | |
35 | -----------------------------------------------------------------------*/ | |
36 | - | |
37 | -#ifndef DRD64_HEADER_LIBGOBLIN_ANALYZE | |
38 | -#define DRD64_HEADER_LIBGOBLIN_ANALYZE | |
39 | - | |
40 | -#include"drd64_libgoblin.h" | |
41 | - | |
42 | -#ifdef DRD64_SRC_LIBGOBLIN_ANALYZE | |
43 | - #define LIBGOBLIN_ANALYZE_EXTERN | |
44 | -#else | |
45 | - #define LIBGOBLIN_ANALYZE_EXTERN extern | |
46 | -#endif | |
47 | - | |
48 | -LIBGOBLIN_ANALYZE_EXTERN | |
49 | - int LibGoblin_AnalyzeBinary( | |
50 | - LibGoblin_BinaryInfo *p_bin ); | |
51 | - | |
52 | - | |
53 | - | |
54 | -#endif /* DRD64_HEADER_LIBGOBLIN_BINFO */ | |
55 | - | |
56 | -/* EOF of drd64_.h ----------------------------------- */ |