Changeset 464

Show
Ignore:
Timestamp:
04/01/06 20:57:51 (3 years ago)
Author:
dp
Message:

shellcode-signatures

  • add catchall rule to catch all other chars
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/shellcode-signatures/lex.yy.c

    r463 r464  
    283283        yy_c_buf_p = yy_cp; 
    284284 
    285 #define YY_NUM_RULES 58 
    286 #define YY_END_OF_BUFFER 59 
     285#define YY_NUM_RULES 59 
     286#define YY_END_OF_BUFFER 60 
    287287static yyconst short int yy_accept[219] = 
    288288    {   0, 
    289        56,   56,   40,   40,   53,   53,   59,   58,   56,   57, 
     289       56,   56,   40,   40,   53,   53,   60,   58,   56,   57, 
    290290       44,    1,    2,    7,   58,    6,    5,   38,   38,   38, 
    291291       38,   38,   38,   38,   38,   38,   38,   38,   38,   38, 
     
    10531053YY_RULE_SETUP 
    10541054#line 105 "parser.l" 
     1055{ /* catch all */ } 
     1056        YY_BREAK 
     1057case 59: 
     1058YY_RULE_SETUP 
     1059#line 107 "parser.l" 
    10551060ECHO; 
    10561061        YY_BREAK 
    1057 #line 1058 "lex.yy.c" 
     1062#line 1063 "lex.yy.c" 
    10581063case YY_STATE_EOF(INITIAL): 
    10591064case YY_STATE_EOF(comment): 
     
    19381943        } 
    19391944#endif 
    1940 #line 105 "parser.l" 
     1945#line 107 "parser.l" 
    19411946 
    19421947 
  • nepenthes/trunk/modules/shellcode-signatures/parser.l

    r463 r464  
    103103{NEWLINE}                                                       { line_number++; } 
    104104 
     105.                                                                       { /* catch all */ } 
     106 
    105107%% 
    106108