Add parser plugin for checking executable file 47/259447/24
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 8 Jun 2021 06:19:55 +0000 (15:19 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Fri, 23 Jul 2021 02:51:15 +0000 (11:51 +0900)
commitad2c5b3096e0965caf61b96ce7401afb09166059
treec497f9c1fb618de66a4358ce810e3af9f2b0a80e
parent2a6dfea3c77b5b19cfab520ef66b52b25b8c0411
Add parser plugin for checking executable file

When a package is installed, the parser checks executable files.
If the package's type is "C/C++", it checks below condition.

   1) Check the file is whether same architecture with the platform.
   2) Check whether shared object or not.
   3) Check to have "main" symbol.
   4) Check that libraries with dependency on the file are linkable.

Change-Id: I4b17b13c15ab63e2cb6479ef78d05dda6512a11e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
packaging/aul.spec
parser/CMakeLists.txt
parser/exec-checker/CMakeLists.txt [new file with mode: 0644]
parser/exec-checker/data/exec_checker.info [new file with mode: 0644]
parser/exec-checker/inc/exec_checker.hh [new file with mode: 0644]
parser/exec-checker/inc/exec_checker_private.hh [new file with mode: 0644]
parser/exec-checker/inc/plugin_manager.hh [new file with mode: 0644]
parser/exec-checker/src/exec_checker.cc [new file with mode: 0644]
parser/exec-checker/src/exec_checker_plugin_interface.cc [new file with mode: 0644]
parser/exec-checker/src/plugin_manager.cc [new file with mode: 0644]