Research Article
IMCSA: Providing Better Sequence Alignment Space for Industrial Control Protocol Reverse Engineering
Algorithm 2
Keyword discrimination strategy.
| Input: string before and after expansion: ; expanded character: ; threshold: ; Bag-of-Word: | | Output: judgement: | (1) | | (2) | | (3) | | (4) | = cal_fre | (5) | if then | (6) | if&& lenthen | (7) | label | (8) | ; | (9) | end | (10) | else | (11) | | (12) | end | (13) | end | (14) | if then | (15) | ifthen | (16) | label | (17) | ; | (18) | end | (19) | else | (20) | ifthen | (21) | label | (22) | ; | (23) | end | (24) | else | (25) | | (26) | end | (27) | end | (28) | end | (29) | return . |
|