|
||
CapImportCheck
CapImportCheck
is a command line tool that allows you to compare the capabilities of a binary file with the capabilities of the binaries
that may import that specific file.
To use CapImportCheck
, you need to define the name and location of the ROM log file, and the Symbian Capability List (<EPOCROOT>\epoc32\include\e32capability.h
).
You also need to define the location of a file containing dependency data for ROM log binaries. This data is generated as
a text file by a tool called ImportsAnalyser
, provided with CapImportCheck
(see below). This data is used by CapImportCheck
to determine which binaries may import a given binary.
The results are presented in HTML format, but may also be printed to the standard output.
ImportsAnalyser
is used to generate a mapping between a binary file and the binaries which import it. This information is used by CapImportCheck
to determine dependency relationships between binaries in the ROM log.
The command line syntax to be used when running CapImportsAnalyser
is shown below.
>ImportsAnalyser.pl – r myRom.log [–p pluginTable.pld] [–D DependencyDataFile.txt]
The following arguments are used.
|
The name and location of the ROM log file to be checked, in relation to the directory where the tool is run from, for example
|
|
The name of the |
|
Defines the location of the output file containing dependency data. |
|
Displays help information (optional). |
An example of how to use the ImportsAnalyser
tool is shown below:
>ImportsAnalyser.pl -r .\input\rom.log -p plugintable.pld -D .input\depsData.txt
Once the dependency data has been generated, you can run CapImportCheck
. Along with the dependency data file, you also need to specify the name and location of the ROM log file and the Symbian
Capability list.
You may also specify a capability override file, listing capabilities to be used instead of the capabilities of binaries found in the ROM log.
The command line syntax to be used when running CapImportCheck
is shown below.
>CapImportCheck.pl -r <rom_log_file> -s <Symbian_capability_list> -D <dependency_data_file> [-o <override_file>] [-R <HTML_report>]
Mandatory arguments are -r
, -s
and -D
.
The following arguments are used.
|
The name and location of the ROM log file to be checked, in relation to the directory where the tool is run from, for example
|
|
The name of the Symbian Capability List, listing all the capabilities available to search, and their corresponding values.
This is a header file named |
|
Defines the location of the dependency data. |
|
Defines a text file containing a list of binaries and capabilities, to be used instead of the ones found in the ROM log. This is optional. The file may contain a list of modifications to the set of capabilities granted to specified binaries. Capabilities can be added, removed or assigned, using the following format:
where the first line specifies that |
|
Defines the name of the HTML report to be generated in the working directory. If not specified, the default name is |
|
Displays help information (optional). |
An example of how to use the CapImportCheck
tool is shown below:
>CapImportCheck.pl -r .\input\rom.log -s e32capability.h -D .input\depsData.txt -R results.html