mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
bytecode: add icon match API.
This commit is contained in:
parent
dc200c6b19
commit
1dae00ebf4
6 changed files with 119 additions and 73 deletions
|
@ -829,6 +829,17 @@ int32_t pdf_get_phase(void);
|
|||
/** Return the currently dumped obj id.
|
||||
Valid only in PDF_PHASE_POSTDUMP */
|
||||
int32_t pdf_get_dumpedobjid(void);
|
||||
|
||||
/** Attempts to match current executable's icon against the specified icon
|
||||
* groups.
|
||||
* @param[in] group1 - same as GROUP1 in LDB signatures
|
||||
* @param group1_len - length of \p group1
|
||||
* @param[in] group2 - same as GROUP2 in LDB signatures
|
||||
* @param group2_len - length of \p group2
|
||||
*/
|
||||
|
||||
int32_t matchicon(const uint8_t* group1, int32_t group1_len,
|
||||
const uint8_t* group2, int32_t group2_len);
|
||||
/* ---------------- END 0.96.2 APIs ----------------------------------- */
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue