Module project
Declares methods that can be invoked on a project (instance of the 'project' class)
Functions
project:asmfiles () | Iterates over the asmfiles of a project |
project:get_CG_file_path () | Print the callgraph (CG) of a project to a DOT file |
project:get_first_asmfile () | Returns the first asmfile of a project |
project:get_name () | Returns the name of a project |
project:get_nasmfiles () | Returns the number of asmfiles in a project |
project:get_nblocks () | Returns the number of blocks in a project (excluding virtual blocks, not exposed in LUA structures) |
project:get_nfunctions () | Returns the number of functions in a project |
project:get_ninsns () | Returns the number of instructions in a project |
project:get_nloops () | Returns the number of loops in a project |
project:get_uarch_id () | Return the identifier of the micro architecture used for the project |
project:get_uarch_name () | Return the name of the micro architecture used for the project |
project:tostring () | Print "Project: |
Functions
- project:asmfiles ()
-
Iterates over the asmfiles of a project
Return value:
next asmfile - project:get_CG_file_path ()
-
Print the callgraph (CG) of a project to a DOT file
Return value:
path to the output file - project:get_first_asmfile ()
-
Returns the first asmfile of a project
Return value:
first asmfile - project:get_name ()
-
Returns the name of a project
Return value:
name of the project (string) - project:get_nasmfiles ()
-
Returns the number of asmfiles in a project
Return value:
number of asmfiles - project:get_nblocks ()
-
Returns the number of blocks in a project (excluding virtual blocks, not exposed in LUA structures)
Return value:
number of blocks - project:get_nfunctions ()
-
Returns the number of functions in a project
Return value:
number of functions - project:get_ninsns ()
-
Returns the number of instructions in a project
Return value:
number of instructions - project:get_nloops ()
-
Returns the number of loops in a project
Return value:
number of loops - project:get_uarch_id ()
-
Return the identifier of the micro architecture used for the project
Return value:
an integer - project:get_uarch_name ()
-
Return the name of the micro architecture used for the project
Return value:
a string - project:tostring ()
-
Print "Project:
" (meta-method)