Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
doxygen-1.8.5 /
html /
[ HOME SHELL ]
Name
Size
Permission
Action
arch.html
12.27
KB
-rw-r--r--
archoverview.gif
7.64
KB
-rw-r--r--
autolink.html
10.66
KB
-rw-r--r--
bc_s.png
624
B
-rw-r--r--
bdwn.png
139
B
-rw-r--r--
changelog.html
110.51
KB
-rw-r--r--
closed.png
125
B
-rw-r--r--
commands.html
138.41
KB
-rw-r--r--
config.html
201.27
KB
-rw-r--r--
custcmd.html
6.49
KB
-rw-r--r--
customize.html
19.92
KB
-rw-r--r--
diagrams.html
8.7
KB
-rw-r--r--
docblocks.html
64.54
KB
-rw-r--r--
doxygen.png
3.45
KB
-rw-r--r--
doxygen_logo.gif
29.16
KB
-rw-r--r--
doxygen_logo_low.gif
3.86
KB
-rw-r--r--
doxygen_manual.css
18.53
KB
-rw-r--r--
doxygen_usage.html
6.77
KB
-rw-r--r--
doxywizard_expert.png
29.35
KB
-rw-r--r--
doxywizard_main.png
55.86
KB
-rw-r--r--
doxywizard_menu.png
57.29
KB
-rw-r--r--
doxywizard_page1.png
38.72
KB
-rw-r--r--
doxywizard_page2.png
38.13
KB
-rw-r--r--
doxywizard_page3.png
49.71
KB
-rw-r--r--
doxywizard_page4.png
42.69
KB
-rw-r--r--
doxywizard_usage.html
8.22
KB
-rw-r--r--
dynsections.js
2.91
KB
-rw-r--r--
external.html
6.73
KB
-rw-r--r--
extsearch.html
17.38
KB
-rw-r--r--
extsearch_flow.png
20.57
KB
-rw-r--r--
faq.html
14.27
KB
-rw-r--r--
features.html
8.14
KB
-rw-r--r--
form_0.png
354
B
-rw-r--r--
form_1.png
351
B
-rw-r--r--
form_10.png
889
B
-rw-r--r--
form_11.png
456
B
-rw-r--r--
form_12.png
302
B
-rw-r--r--
form_2.png
366
B
-rw-r--r--
form_3.png
702
B
-rw-r--r--
form_4.png
2.12
KB
-rw-r--r--
form_5.png
2.51
KB
-rw-r--r--
form_6.png
538
B
-rw-r--r--
form_7.png
610
B
-rw-r--r--
form_8.png
217
B
-rw-r--r--
form_9.png
368
B
-rw-r--r--
formula.repository
753
B
-rw-r--r--
formulas.html
6.38
KB
-rw-r--r--
ftv2blank.png
86
B
-rw-r--r--
ftv2cl.png
416
B
-rw-r--r--
ftv2doc.png
652
B
-rw-r--r--
ftv2folderclosed.png
493
B
-rw-r--r--
ftv2folderopen.png
505
B
-rw-r--r--
ftv2lastnode.png
86
B
-rw-r--r--
ftv2link.png
652
B
-rw-r--r--
ftv2mlastnode.png
241
B
-rw-r--r--
ftv2mnode.png
241
B
-rw-r--r--
ftv2mo.png
373
B
-rw-r--r--
ftv2node.png
86
B
-rw-r--r--
ftv2ns.png
370
B
-rw-r--r--
ftv2plastnode.png
227
B
-rw-r--r--
ftv2pnode.png
227
B
-rw-r--r--
ftv2splitbar.png
282
B
-rw-r--r--
ftv2vertline.png
86
B
-rw-r--r--
grouping.html
12.63
KB
-rw-r--r--
htmlcmds.html
14.46
KB
-rw-r--r--
index.html
11.39
KB
-rw-r--r--
infoflow.png
98.24
KB
-rw-r--r--
install.html
16.32
KB
-rw-r--r--
jquery.js
133.32
KB
-rw-r--r--
langhowto.html
27.4
KB
-rw-r--r--
lists.html
5.4
KB
-rw-r--r--
markdown.html
26.65
KB
-rw-r--r--
nav_f.png
136
B
-rw-r--r--
nav_g.png
93
B
-rw-r--r--
nav_h.png
93
B
-rw-r--r--
navtree.css
1.99
KB
-rw-r--r--
navtree.js
35.96
KB
-rw-r--r--
navtreeindex0.js
8.87
KB
-rw-r--r--
navtreeindex1.js
2.4
KB
-rw-r--r--
open.png
115
B
-rw-r--r--
output.html
5.52
KB
-rw-r--r--
pages.html
8.48
KB
-rw-r--r--
perlmod.html
11.26
KB
-rw-r--r--
perlmod_tree.html
23.51
KB
-rw-r--r--
preprocessing.html
11.38
KB
-rw-r--r--
resize.js
2.59
KB
-rw-r--r--
searching.html
10.9
KB
-rw-r--r--
searching.js
773
B
-rw-r--r--
starting.html
20.07
KB
-rw-r--r--
sync_off.png
815
B
-rw-r--r--
sync_on.png
809
B
-rw-r--r--
tab_a.png
124
B
-rw-r--r--
tab_b.png
149
B
-rw-r--r--
tab_h.png
145
B
-rw-r--r--
tab_s.png
156
B
-rw-r--r--
tabs.css
1.14
KB
-rw-r--r--
trouble.html
8.82
KB
-rw-r--r--
xmlcmds.html
8.39
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : preprocessing.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>Doxygen: Preprocessing</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen_manual.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Doxygen </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('preprocessing.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">Preprocessing </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><p>Source files that are used as input to doxygen can be parsed by doxygen's built-in C-preprocessor.</p> <p>By default doxygen does only partial preprocessing. That is, it evaluates conditional compilation statements (like <code>#if</code>) and evaluates macro definitions, but it does not perform macro expansion.</p> <p>So if you have the following code fragment </p> <pre class="fragment">#define VERSION 200 #define CONST_STRING const char * #if VERSION >= 200 static CONST_STRING version = "2.xx"; #else static CONST_STRING version = "1.xx"; #endif </pre><p>Then by default doxygen will feed the following to its parser:</p> <pre class="fragment">#define VERSION #define CONST_STRING static CONST_STRING version = "2.xx"; </pre><p>You can disable all preprocessing by setting <a class="el" href="config.html#cfg_enable_preprocessing">ENABLE_PREPROCESSING</a> to <code>NO</code> in the configuration file. In the case above doxygen will then read both statements, i.e.:</p> <pre class="fragment"> static CONST_STRING version = "2.xx"; static CONST_STRING version = "1.xx"; </pre><p>In case you want to expand the <code>CONST_STRING</code> macro, you should set the <a class="el" href="config.html#cfg_macro_expansion">MACRO_EXPANSION</a> tag in the config file to <code>YES</code>. Then the result after preprocessing becomes:</p> <pre class="fragment">#define VERSION #define CONST_STRING static const char * version = "1.xx"; </pre><p>Note that doxygen will now expand <em>all</em> macro definitions (recursively if needed). This is often too much. Therefore, doxygen also allows you to expand only those defines that you explicitly specify. For this you have to set the <a class="el" href="config.html#cfg_expand_only_predef">EXPAND_ONLY_PREDEF</a> tag to <code>YES</code> and specify the macro definitions after the <a class="el" href="config.html#cfg_predefined">PREDEFINED</a> or <a class="el" href="config.html#cfg_expand_as_defined">EXPAND_AS_DEFINED</a> tag.</p> <p>A typically example where some help from the preprocessor is needed is when dealing with the language extension from Microsoft: <code>__declspec</code>. The same goes for GNU's <code>__attribute__</code> extension. Here is an example function.</p> <pre class="fragment">extern "C" void __declspec(dllexport) ErrorMsg( String aMessage,...); </pre><p>When nothing is done, doxygen will be confused and see <code>__declspec</code> as some sort of function. To help doxygen one typically uses the following preprocessor settings:</p> <pre class="fragment">ENABLE_PREPROCESSING = YES MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES PREDEFINED = __declspec(x)= </pre><p>This will make sure the <code>__declspec(dllexport)</code> is removed before doxygen parses the source code.</p> <p>Similar settings can be used for removing <code>__attribute__</code> expressions from the input:</p> <pre class="fragment">ENABLE_PREPROCESSING = YES MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES PREDEFINED = __attribute__(x)= </pre><p>For a more complex example, suppose you have the following obfuscated code fragment of an abstract base class called <code>IUnknown:</code> </p> <pre class="fragment">/*! A reference to an IID */ #ifdef __cplusplus #define REFIID const IID & #else #define REFIID const IID * #endif /*! The IUnknown interface */ DECLARE_INTERFACE(IUnknown) { STDMETHOD(HRESULT,QueryInterface) (THIS_ REFIID iid, void **ppv) PURE; STDMETHOD(ULONG,AddRef) (THIS) PURE; STDMETHOD(ULONG,Release) (THIS) PURE; }; </pre><p>without macro expansion doxygen will get confused, but we may not want to expand the <code>REFIID</code> macro, because it is documented and the user that reads the documentation should use it when implementing the interface.</p> <p>By setting the following in the config file:</p> <pre class="fragment">ENABLE_PREPROCESSING = YES MACRO_EXPANSION = YES EXPAND_ONLY_PREDEF = YES PREDEFINED = "DECLARE_INTERFACE(name)=class name" \ "STDMETHOD(result,name)=virtual result name" \ "PURE= = 0" \ THIS_= \ THIS= \ __cplusplus </pre><p>we can make sure that the proper result is fed to doxygen's parser: </p> <pre class="fragment">/*! A reference to an IID */ #define REFIID /*! The IUnknown interface */ class IUnknown { virtual HRESULT QueryInterface ( REFIID iid, void **ppv) = 0; virtual ULONG AddRef () = 0; virtual ULONG Release () = 0; }; </pre><p>Note that the <a class="el" href="config.html#cfg_predefined">PREDEFINED</a> tag accepts function like macro definitions (like <code>DECLARE_INTERFACE</code> ), normal macro substitutions (like <code>PURE</code> and <code>THIS</code>) and plain defines (like <code>__cplusplus</code>).</p> <p>Note also that preprocessor definitions that are normally defined automatically by the preprocessor (like <code>__cplusplus</code>), have to be defined by hand with doxygen's parser (this is done because these defines are often platform/compiler specific).</p> <p>In some cases you may want to substitute a macro name or function by something else without exposing the result to further macro substitution. You can do this but using the <code>:=</code> operator instead of <code>=</code></p> <p>As an example suppose we have the following piece of code: </p> <pre class="fragment">#define QList QListT class QListT { }; </pre><p>Then the only way to get doxygen interpret this as a class definition for class <code>QList</code> is to define: </p> <pre class="fragment">PREDEFINED = QListT:=QList </pre><p>Here is an example provided by Valter Minute and Reyes Ponce that helps doxygen to wade through the boilerplate code in Microsoft's ATL & MFC libraries:</p> <pre class="fragment">PREDEFINED = "DECLARE_INTERFACE(name)=class name" \ "STDMETHOD(result,name)=virtual result name" \ "PURE= = 0" \ THIS_= \ THIS= \ DECLARE_REGISTRY_RESOURCEID=// \ DECLARE_PROTECT_FINAL_CONSTRUCT=// \ "DECLARE_AGGREGATABLE(Class)= " \ "DECLARE_REGISTRY_RESOURCEID(Id)= " \ DECLARE_MESSAGE_MAP= \ BEGIN_MESSAGE_MAP=/* \ END_MESSAGE_MAP=*/// \ BEGIN_COM_MAP=/* \ END_COM_MAP=*/// \ BEGIN_PROP_MAP=/* \ END_PROP_MAP=*/// \ BEGIN_MSG_MAP=/* \ END_MSG_MAP=*/// \ BEGIN_PROPERTY_MAP=/* \ END_PROPERTY_MAP=*/// \ BEGIN_OBJECT_MAP=/* \ END_OBJECT_MAP()=*/// \ DECLARE_VIEW_STATUS=// \ "STDMETHOD(a)=HRESULT a" \ "ATL_NO_VTABLE= " \ "__declspec(a)= " \ BEGIN_CONNECTION_POINT_MAP=/* \ END_CONNECTION_POINT_MAP=*/// \ "DECLARE_DYNAMIC(class)= " \ "IMPLEMENT_DYNAMIC(class1, class2)= " \ "DECLARE_DYNCREATE(class)= " \ "IMPLEMENT_DYNCREATE(class1, class2)= " \ "IMPLEMENT_SERIAL(class1, class2, class3)= " \ "DECLARE_MESSAGE_MAP()= " \ TRY=try \ "CATCH_ALL(e)= catch(...)" \ END_CATCH_ALL= \ "THROW_LAST()= throw"\ "RUNTIME_CLASS(class)=class" \ "MAKEINTRESOURCE(nId)=nId" \ "IMPLEMENT_REGISTER(v, w, x, y, z)= " \ "ASSERT(x)=assert(x)" \ "ASSERT_VALID(x)=assert(x)" \ "TRACE0(x)=printf(x)" \ "OS_ERR(A,B)={ #A, B }" \ __cplusplus \ "DECLARE_OLECREATE(class)= " \ "BEGIN_DISPATCH_MAP(class1, class2)= " \ "BEGIN_INTERFACE_MAP(class1, class2)= " \ "INTERFACE_PART(class, id, name)= " \ "END_INTERFACE_MAP()=" \ "DISP_FUNCTION(class, name, function, result, id)=" \ "END_DISPATCH_MAP()=" \ "IMPLEMENT_OLECREATE2(class, name, id1, id2, id3, id4,\ id5, id6, id7, id8, id9, id10, id11)=" </pre><p>As you can see doxygen's preprocessor is quite powerful, but if you want even more flexibility you can always write an input filter and specify it after the <a class="el" href="config.html#cfg_input_filter">INPUT_FILTER</a> tag.</p> <p>If you are unsure what the effect of doxygen's preprocessing will be you can run doxygen as follows: </p> <pre class="fragment"> doxygen -d Preprocessor </pre><p> This will instruct doxygen to dump the input sources to standard output after preprocessing has been done (Hint: set <code>QUIET = YES</code> and <code>WARNINGS = NO</code> in the configuration file to disable any other output).</p> Go to the <a href="autolink.html">next</a> section or return to the <a href="index.html">index</a>. </div></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li> </ul> </div> </body> </html>
Close