Implement finding main symbol from .dynsym 23/264923/5
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 5 Oct 2021 07:48:33 +0000 (16:48 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 6 Oct 2021 02:44:59 +0000 (11:44 +0900)
commitae2d2baff6aa0064e5be6c1099869f0ebda92bf5
tree5fedb94ad85e18fa7e31fdd33bc1306894890c59
parentdff15771eca81740d879222de729f9c1764dce0d
Implement finding main symbol from .dynsym

This patch finds the main symbol using Elf64_Shdr and Elf64_Sym.
If the main symbol doesn't exist, the plugin prints the warning log for
debugging.

Change-Id: Ib46bfcc66319c13be443d76773ab3f41b7496f12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
parser/exec-checker/src/exec_checker.cc
parser/exec-checker/src/plugin_manager.cc