aboutsummaryrefslogtreecommitdiff
path: root/elf_reader_test.cc
AgeCommit message (Collapse)Author
2023-09-12ELF reader test: initialise all fields of SymbolTableEntryGiuliano Procida
PiperOrigin-RevId: 564682245 Change-Id: Id631161eb398103f40b6a29b48f4f020e5f2e3ed
2023-03-07strip NOLINT commentsGiuliano Procida
PiperOrigin-RevId: 514696330 Change-Id: I2137bd6ea1cdaf4a0e8ce6c97def09ff770114ad
2023-01-09ELF reading: implement `__ksymtab` symbol restrictionAleksei Vetrov
STG should extract from Linux kernel only symbols, which have entry in `__ksymtab`. Such symbol named `X` would have sibling with name `__ksymtab_X`. To filter these symbols we pass through all symbols, filling `std::unordered_set` with `X` from `__ksymtab_X` entries. Then this set is checked in `IsPublicFunctionOrVariable`. PiperOrigin-RevId: 500710544 Change-Id: Ib1d3d1a6963397273869912b387273510513c591