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&&&,&,&,&,&,
&&&&&,&,&,&,&,
&&&&&,,,,,
&&&&,,12712,&&749,&&747,&&745,&&743,&&741,
&&&&&&739,&&737,&&735,&&733,&&731,&&729,&&727,&&725,&&723,&&721,
&&&&&&719,&&717,&&715,&&713,&&711,&&709,&&707,&&705,&&703,&&701,
&&&&&&699,&&697,&&695,&&693,&&691,&&689,&&687,&&685,&&683,&&681,
&&&&&&679,&&677,&&675,&&673,&&671,&&669,&&667,&&665,&&663,&&661,
&&&&&&659,&&657,&&655,&&653,&&651,&&649,&&647,&&645,&&643,&&641,
&&&&&&639,&&637,&&635,&&633,&&631,&&629,&&627,&&625,&&623,&&621,
&&&&&&619,&&617,&&615,&&613,&&611,&&609,&&607,&&605,&&603,&&601,
&&&&&&599,&&597,&&595,&&593,&&591,&&589,&&587,&&585,&&583,&&581,
&&&&&&579,&&577,&&575,&&573,&&571,&&569,&&567,&&565,&&563,&&561,
&&&&&&559,&&557,&&555,&&553,&&551,&&549,&&547,&&545,&&543,&&541,
&&&&&&539,&&537,&&535,&&533,&&531,&&529,&&527,&&525,&&523,&&521,
&&&&&&519,&&517,&&515,&&513,&&511,&&509,&&507,&&505,&&503,&&501,
&&&&&&499,&&497,&&495,&&493,&&491,&&489,&&487,&&485,&&483,&&481,
&&&&&&479,&&477,&&475,&&473,&&471,&&469,&&467,&&465,&&463,&&461,
&&&&&&459,&&455,&&452,&&451,&&447,&&446,&&445,&&442,&&441,&&440,
&&&&&&439,&&436,&&435,&&434,&&433,&&432,&&430,&&429,&&428,&&427,
&&&&&&424,&&422,&&420,&&419,&&418,&&417,&&415,&&414,&&413,&&412,
&&&&&&411,&&410,&&408,&&407,&&405,&&404,&&403,&&402,&&401,&&400,
&&&&&&399,&&397,&&396,&&395,&&393,&&392,&&391,&&390,&&388,&&387,
&&&&&&385,&&384,&&383,&&382,&&380,&&379,&&378,&&377,&&375,&&374,
&&&&&&373,&&372,&&370,&&369,&&368,&&367,&&366,&&365,&&364,&&362,
&&&&&&361,&&360,&&359,&&358,&&356,&&355,&&354,&&353,&&352,&&351,
&&&&&&350,&&349,&&348,&&347,&&345,&&344,&&343,&&341,&&340,&&339,
&&&&&&338,&&337,&&336,&&334,&&333,&&332,&&329,&&328,&&327,&&326,
&&&&&&325,&&324,&&323,&&321,&&320,&&319,&&316,&&315,&&314,&&313,
&&&&&&312,&&310,&&309,&&308,&&306,&&305,&&303,&&302,&&300,&&299,
&&&&&&298,&&297,&&295,&&293,&&292,&&291,&&289,&&288,&&286,&&285,
&&&&&&283,&&282,&&281,&&279,&&278,&&276,&&275,&&274,&&273,&&272,
&&&&&&271,&&269,&&268,&&267,&&266,&&264,&&263,&&261,&&260,&&258,
&&&&&&257,&&256,&&255,&&254,&&253,&&251,&&250,&&249,&&248,&&246,
&&&&&&245,&&244,&&243,&&242,&&241,&&240,&&238,&&236,&&235,&&234,
&&&&&&233,&&231,&&230,&&229,&&227,&&226,&&225,&&224,&&223,&&222,
&&&&&&221,&&219,&&217,&&216,&&215,&&214,&&213,&&212,&&211,&&210,
&&&&&&209,&&207,&&205,&&203,&&202,&&201,&&200,&&199,&&198,&&197,
&&&&&&196,&&194,&&193,&&192,&&191,&&190,&&189,&&188,&&187,&&185,
&&&&&&183,&&181,&&180,&&179,&&178,&&177,&&176,&&175,&&174,&&173,
&&&&&&172,&&171,&&170,&&169,&&168,&&167,&&166,&&165,&&164,&&163,
&&&&&&162,&&161,&&160,&&159,&&158,&&157,&&156,&&154,&&153,&&152,
&&&&&&151,&&150,&&149,&&148,&&147,&&146,&&145,&&144,&&143,&&142,
&&&&&&141,&&140,&&139,&&138,&&137,&&136,&&135,&&134,&&133,&&132,
&&&&&&131,&&130,&&129,&&128,&&127,&&126,&&125,&&122,&&121,&&120,
&&&&&&119,&&118,&&117,&&116,&&115,&&114,&&112,&&111,&&110,&&109,
&&&&&&108,&&107,&&106,&&105,&&104,&&103,&&102,&&101,&&&98,&&&97,
&&&&&&&96,&&&95,&&&94,&&&93,&&&92,&&&90,&&&89,&&&88,&&&87,&&&86,
&&&&&&&85,&&&84,&&&83,&&&81,&&&80,&&&79,&&&78,&&&77,&&&76,&&&75,
&&&&&&&74,&&&73,&&&72,&&&70,&&&68,&&&67,&&&66,&&&65,&&&64,&&&63,
&&&&&&&62,&&&61,&&&59,&&&58,&&&57,&&&56,&&&55,&&&54,&&&53,&&&52,
&&&&&&&48,&&&47,&&&45,&&&44,&&&43,&&&40,&&&39,&&&38,&&&37,&&&35,
&&&&&&&31,&&&30,&&&28,&&&27,&&&26,&&&22,&&&21,&&&20,&&&17,&&&14,
&&&&&&&13,&&&11,&&&&9,&&&&7,&,&,&,
&&&&&,&,&,&,&,
&&&&&,&,&,&,&,
&&&&&,&,&,&8614
static&yy_state_type&yy_last_accepting_
static&char&*yy_last_accepting_
extern&int&sfat_flex_
int&sfat_flex_debug&=&0;
/*&The&intent&behind&this&definition&is&that&it'll&catch
&*&any&uses&of&REJECT&which&flex&missed.
#define&REJECT&reject_used_but_not_detected
#define&yymore()&yymore_used_but_not_detected
#define&YY_MORE_ADJ&0
#define&YY_RESTORE_YY_MORE_OFFSET
#line&1&&sf_attribute_table_parser.l&
**&Copyright&(C)&&Sourcefire,&Inc.
**&This&program&is&free&&you&can&redistribute&it&and/or&modify
**&it&under&the&terms&of&the&GNU&General&Public&License&Version&2&as
**&published&by&the&Free&Software&Foundation.&&You&may¬&use,&modify&or
**&distribute&this&program&under&any&other&version&of&the&GNU&General
**&Public&License.
**&This&program&is&distributed&in&the&hope&that&it&will&be&useful,
**&but&WITHOUT&ANY&WARRANTY;&without&even&the&implied&warranty&of
**&MERCHANTABILITY&or&FITNESS&FOR&A&PARTICULAR&PURPOSE.&&See&the
**&GNU&General&Public&License&for&more&details.
**&You&should&have&received&a©&of&the&GNU&General&Public&License
**&along&with&this&&if¬,&write&to&the&Free&Software
**&Foundation,&Inc.,&59&Temple&Place&-&Suite&330,&Boston,&MA&,&USA.
&*&Author:&Steven&Sturges
&*&sf_attribute_table_parser.l
&*&Lex&for&Attribute&Table
/*&Definitions&Section.
&*&Definitions&required&by&the&rules§ion&are&in&here&prior&to&first&&
&*&&%%&&seperator
/*&Include&code&between&&%{&%}&&separators&at&top&of&generated
&*&lexer&source&file
#line&38&&sf_attribute_table_parser.l&
#ifdef&TARGET_BASED
#ifdef&HAVE_CONFIG_H
#include&&config.h&
#include&&stdlib.h&
#include&&util.h&
#include&&snort.h&
#include&&parser.h&
#include&&sftarget_reader.h&
#include&&sf_attribute_table.h&&/*&Generated&from&YACC&*/
extern&ServiceClient&sfat_client_or_
static&int&sfat_linenumber&=&0;
static&char*&sfat_
void&sfat_error(char&*err);
int&sfat_parse();
#define&YY_NO_UNPUT
/*&Change&flex&buffer&size&from&default&8K&to&STD_BUF&bytes&*/
#ifdef&YY_BUF_SIZE
#undef&&YY_BUF_SIZE
#define&YY_BUF_SIZE&STD_BUF
#define&YY_DECL&int&sfat_lex(void)
/*&At&end-of-file&return&assuming&no&more&files&to&scan*/
/*&Optimise&lexer&for&interactive&use&*/
/*&Declare&exclusive&start&conditions.
&*&Start&conditions&are&included&here&to&illustrate&how&to&add&simple
&*&state-machine&functionality&to&the&lexer
/*&Define&some&common&patterns&for&use&below&*/
/*&Rules&Section.
&*&All&rules&are&in&here&prior&to&second&&%%&&seperator
#line&6198&&sf_attribute_table_parser.c&
#define&INITIAL&0
#define&waiting_for_comma_prior_to_data&1
#define&waiting_for_data&2
#ifndef&YY_NO_UNISTD_H
/*&Special&case&for&&unistd.h&,&since&it&is&non-ANSI.&We&include&it&way
&*&down&here&because&we&want&the&user's§ion&1&to&have&been&scanned&first.
&*&The&user&has&a&chance&to&override&it&with&an&option.
#include&&unistd.h&
#ifndef&YY_EXTRA_TYPE
#define&YY_EXTRA_TYPE&void&*
static&int&yy_init_globals&(void&);
/*&Macros&after&this&point&can&all&be&overridden&by&user&definitions&in
&*§ion&1.
#ifndef&YY_SKIP_YYWRAP
#ifdef&__cplusplus
extern&&C&&int&sfatwrap&(void&);
extern&int&sfatwrap&(void&);
&&&&static&void&yyunput&(int&c,char&*buf_ptr&&);
#ifndef&yytext_ptr
static&void&yy_flex_strncpy&(char&*,yyconst&char&*,int&);
#ifdef&YY_NEED_STRLEN
static&int&yy_flex_strlen&(yyconst&char&*&);
#ifndef&YY_NO_INPUT
#ifdef&__cplusplus
static&int&yyinput&(void&);
static&int&input&(void&);
/*&Amount&of&stuff&to&slurp&up&with&each&read.&*/
#ifndef&YY_READ_BUF_SIZE
#define&YY_READ_BUF_SIZE&8192
/*&Copy&whatever&the&last&rule&matched&to&the&standard&output.&*/
#ifndef&ECHO
/*&This&used&to&be&an&fputs(),&but&since&the&string&might&contain&NUL's,
&*&we&now&use&fwrite().
#define&ECHO&(void)&fwrite(&sfattext,&sfatleng,&1,&sfatout&)
/*&Gets&input&and&stuffs&it&into&&buf&.&&number&of&characters&read,&or&YY_NULL,
&*&is&returned&in&&result&.
#ifndef&YY_INPUT
#define&YY_INPUT(buf,result,max_size)&
if&(&YY_CURRENT_BUFFER_LVALUE-&yy_is_interactive&)&
int&c&=&'*';&
size_t&n;&
for&(&n&=&0;&n&&&max_size&&&&
&&&&&(c&=&getc(&sfatin&))&!=&EOF&&&&c&!=&'n';&++n&)&
buf[n]&=&(char)&c;&
if&(&c&==&'n'&)&
buf[n++]&=&(char)&c;&
if&(&c&==&EOF&&&&ferror(&sfatin&)&)&
YY_FATAL_ERROR(&&input&in&flex&scanner&failed&&);&
result&=&n;&
while&(&(result&=&fread(buf,&1,&max_size,&sfatin))==0&&&&ferror(sfatin))&
if(&errno&!=&EINTR)&
YY_FATAL_ERROR(&&input&in&flex&scanner&failed&&);&
clearerr(sfatin);&
/*&No&semi-colon&after&&correct&usage&is&to&write&&yyterminate();&&-
&*&we&don't&want&an&extra&';'&after&the&&return&&because&that&will&cause
&*&some&compilers&to&complain&about&unreachable&statements.
#ifndef&yyterminate
#define&yyterminate()&return&YY_NULL
/*&Number&of&entries&by&which&start-condition&stack&grows.&*/
#ifndef&YY_START_STACK_INCR
#define&YY_START_STACK_INCR&25
/*&Report&a&fatal&error.&*/
#ifndef&YY_FATAL_ERROR
#define&YY_FATAL_ERROR(msg)&yy_fatal_error(&msg&)
/*&end&tables&serialization&structures&and&prototypes&*/
/*&Default&declaration&of&generated&scanner&-&a&define&so&the&user&can
&*&easily&add¶meters.
#ifndef&YY_DECL
#define&YY_DECL_IS_OURS&1
extern&int&sfatlex&(void);
#define&YY_DECL&int&sfatlex&(void)
#endif&/*&!YY_DECL&*/
/*&Code&executed&at&the&beginning&of&each&rule,&after&sfattext&and&sfatleng
&*&have&been&set&up.
#ifndef&YY_USER_ACTION
#define&YY_USER_ACTION
/*&Code&executed&at&the&end&of&each&rule.&*/
#ifndef&YY_BREAK
#define&YY_BREAK&
#define&YY_RULE_SETUP&
YY_USER_ACTION
/**&The&main&scanner&function&which&does&all&the&work.
register&yy_state_type&yy_current_
register&char&*yy_cp,&*yy_
register&int&yy_
#line&98&&sf_attribute_table_parser.l&
#line&6355&&sf_attribute_table_parser.c&
if&(&!(yy_init)&)
(yy_init)&=&1;
#ifdef&YY_USER_INIT
YY_USER_INIT;
if&(&!&(yy_start)&)
(yy_start)&=&1; /*&first&start&state&*/
if&(&!&sfatin&)
if&(&!&sfatout&)
sfatout&=&
if&(&!&YY_CURRENT_BUFFER&)&{
sfatensure_buffer_stack&();
YY_CURRENT_BUFFER_LVALUE&=
sfat_create_buffer(sfatin,YY_BUF_SIZE&);
sfat_load_buffer_state(&);
while&(&1&)
/*&loops&until&end-of-file&is&reached&*/
yy_cp&=&(yy_c_buf_p);
/*&Support&of&sfattext.&*/
*yy_cp&=&(yy_hold_char);
/*&yy_bp&points&to&the&position&in&yy_ch_buf&of&the&start&of
&*&the¤t&run.
yy_bp&=&yy_
yy_current_state&=&(yy_start);
register&YY_CHAR&yy_c&=&yy_ec[YY_SC_TO_UI(*yy_cp)];
if&(&yy_accept[yy_current_state]&)
(yy_last_accepting_state)&=&yy_current_
(yy_last_accepting_cpos)&=&yy_
while&(&yy_chk[yy_base[yy_current_state]&+&yy_c]&!=&yy_current_state&)
yy_current_state&=&(int)&yy_def[yy_current_state];
if&(&yy_current_state&&=&8615&)
yy_c&=&yy_meta[(unsigned&int)&yy_c];
yy_current_state&=&yy_nxt[yy_base[yy_current_state]&+&(unsigned&int)&yy_c];
while&(&yy_current_state&!=&8614&);
yy_cp&=&(yy_last_accepting_cpos);
yy_current_state&=&(yy_last_accepting_state);
yy_find_action:
yy_act&=&yy_accept[yy_current_state];
YY_DO_BEFORE_ACTION;
do_action: /*&This&label&is&used&only&to&access&EOF&actions.&*/
switch&(&yy_act&)
{&/*&beginning&of&action&switch&*/
case&0:&/*&must&back&up&*/
/*&undo&the&effects&of&YY_DO_BEFORE_ACTION&*/
*yy_cp&=&(yy_hold_char);
yy_cp&=&(yy_last_accepting_cpos);
yy_current_state&=&(yy_last_accepting_state);
goto&yy_find_
YY_RULE_SETUP
#line&99&&sf_attribute_table_parser.l&
{&;&}&&/*&Handle&empty&whitespace&*/
YY_RULE_SETUP
#line&100&&sf_attribute_table_parser.l&
{&return&SF_START_SNORT_ATTRIBUTES;&}
YY_RULE_SETUP
#line&101&&sf_attribute_table_parser.l&
{&return&SF_END_SNORT_ATTRIBUTES;&}
YY_RULE_SETUP
#line&103&&sf_attribute_table_parser.l&
{&return&SF_AT_START_MAP_TABLE;&}
YY_RULE_SETUP
#line&104&&sf_attribute_table_parser.l&
{&return&SF_AT_END_MAP_TABLE;&}
YY_RULE_SETUP
#line&105&&sf_attribute_table_parser.l&
{&return&SF_AT_START_ENTRY;&}
YY_RULE_SETUP
#line&106&&sf_attribute_table_parser.l&
{&return&SF_AT_END_ENTRY;&}
YY_RULE_SETUP
#line&107&&sf_attribute_table_parser.l&
{&return&SF_AT_START_ENTRY_ID;&}
YY_RULE_SETUP
#line&108&&sf_attribute_table_parser.l&
{&return&SF_AT_END_ENTRY_ID;&}
YY_RULE_SETUP
#line&109&&sf_attribute_table_parser.l&
{&return&SF_AT_START_ENTRY_VALUE;&}
YY_RULE_SETUP
#line&110&&sf_attribute_table_parser.l&
{&return&SF_AT_END_ENTRY_VALUE;&}
YY_RULE_SETUP
#line&111&&sf_attribute_table_parser.l&
{&return&SF_AT_START_ATTRIBUTE_TABLE;&}
YY_RULE_SETUP
#line&112&&sf_attribute_table_parser.l&
{&return&SF_AT_END_ATTRIBUTE_TABLE;&}
YY_RULE_SETUP
#line&113&&sf_attribute_table_parser.l&
{&return&SF_AT_START_HOST;&}
YY_RULE_SETUP
#line&114&&sf_attribute_table_parser.l&
{&return&SF_AT_END_HOST;&}
YY_RULE_SETUP
#line&115&&sf_attribute_table_parser.l&
{&return&SF_AT_START_HOST_IP;&}
YY_RULE_SETUP
#line&116&&sf_attribute_table_parser.l&
{&return&SF_AT_END_HOST_IP;&}
YY_RULE_SETUP
#line&117&&sf_attribute_table_parser.l&
{&return&SF_AT_START_OS;&}
YY_RULE_SETUP
#line&118&&sf_attribute_table_parser.l&
{&return&SF_AT_END_OS;&}
YY_RULE_SETUP
#line&119&&sf_attribute_table_parser.l&
{&return&SF_AT_START_ATTRIBUTE_VALUE;&}
YY_RULE_SETUP
#line&120&&sf_attribute_table_parser.l&
{&return&SF_AT_END_ATTRIBUTE_VALUE;&}
YY_RULE_SETUP
#line&121&&sf_attribute_table_parser.l&
{&return&SF_AT_START_ATTRIBUTE_ID;&}
YY_RULE_SETUP
#line&122&&sf_attribute_table_parser.l&
{&return&SF_AT_END_ATTRIBUTE_ID;&}
YY_RULE_SETUP
#line&123&&sf_attribute_table_parser.l&
{&return&SF_AT_START_CONFIDENCE;&}
YY_RULE_SETUP
#line&124&&sf_attribute_table_parser.l&
{&return&SF_AT_END_CONFIDENCE;&}
YY_RULE_SETUP
#line&125&&sf_attribute_table_parser.l&
{&return&SF_AT_START_NAME;&}
YY_RULE_SETUP
#line&126&&sf_attribute_table_parser.l&
{&return&SF_AT_END_NAME;&}
YY_RULE_SETUP
#line&127&&sf_attribute_table_parser.l&
{&return&SF_AT_START_VENDOR;&}
YY_RULE_SETUP
#line&128&&sf_attribute_table_parser.l&
{&return&SF_AT_END_VENDOR;&}
YY_RULE_SETUP
#line&129&&sf_attribute_table_parser.l&
{&return&SF_AT_START_VERSION;&}
YY_RULE_SETUP
#line&130&&sf_attribute_table_parser.l&
{&return&SF_AT_END_VERSION;&}
YY_RULE_SETUP
#line&131&&sf_attribute_table_parser.l&
{&return&SF_AT_START_FRAG_POLICY;&}
YY_RULE_SETUP
#line&132&&sf_attribute_table_parser.l&
{&return&SF_AT_END_FRAG_POLICY;&}
YY_RULE_SETUP
#line&133&&sf_attribute_table_parser.l&
{&return&SF_AT_START_STREAM_POLICY;&}
YY_RULE_SETUP
#line&134&&sf_attribute_table_parser.l&
{&return&SF_AT_END_STREAM_POLICY;&}
YY_RULE_SETUP
#line&135&&sf_attribute_table_parser.l&
{&return&SF_AT_START_SERVICES;&}
YY_RULE_SETUP
#line&136&&sf_attribute_table_parser.l&
{&return&SF_AT_END_SERVICES;&}
YY_RULE_SETUP
#line&137&&sf_attribute_table_parser.l&
{&return&SF_AT_START_SERVICE;&}
YY_RULE_SETUP
#line&138&&sf_attribute_table_parser.l&
{&return&SF_AT_END_SERVICE;&}
YY_RULE_SETUP
#line&139&&sf_attribute_table_parser.l&
{&return&SF_AT_START_CLIENTS;&}
YY_RULE_SETUP
#line&140&&sf_attribute_table_parser.l&
{&return&SF_AT_END_CLIENTS;&}
YY_RULE_SETUP
#line&141&&sf_attribute_table_parser.l&
{&return&SF_AT_START_CLIENT;&}
YY_RULE_SETUP
#line&142&&sf_attribute_table_parser.l&
{&return&SF_AT_END_CLIENT;&}
YY_RULE_SETUP
#line&143&&sf_attribute_table_parser.l&
{&return&SF_AT_START_IPPROTO;&}
YY_RULE_SETUP
#line&144&&sf_attribute_table_parser.l&
{&return&SF_AT_END_IPPROTO;&}
YY_RULE_SETUP
#line&145&&sf_attribute_table_parser.l&
{&return&SF_AT_START_PROTOCOL;&}
YY_RULE_SETUP
#line&146&&sf_attribute_table_parser.l&
{&return&SF_AT_END_PROTOCOL;&}
YY_RULE_SETUP
#line&147&&sf_attribute_table_parser.l&
{&return&SF_AT_START_PORT;&}
YY_RULE_SETUP
#line&148&&sf_attribute_table_parser.l&
{&return&SF_AT_END_PORT;&}
YY_RULE_SETUP
#line&149&&sf_attribute_table_parser.l&
{&return&SF_AT_START_APPLICATION;&}
YY_RULE_SETUP
#line&150&&sf_attribute_table_parser.l&
{&return&SF_AT_END_APPLICATION;&}
YY_RULE_SETUP
#line&152&&sf_attribute_table_parser.l&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&sfat_lval.numericValue&=&strtol(&sfattext,&NULL,&10&);
#ifdef&DEBUG
&&&&&&&&&&&&&&&&&&&&&&&&&&&&DebugMessage(DEBUG_ATTRIBUTE,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Number&Value:&[%d]n&,&sfat_lval.numericValue);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&return&SF_AT_NUMERIC;
&&&&&&&&&&&&&&&&&&&&&&&&}
YY_RULE_SETUP
#line&160&&sf_attribute_table_parser.l&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&/*&Store&the&value&of&the&string,&but¬
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*&more&than&STD_BUF.&*/
&&&&&&&&&&&&&&&&&&&&&&&&&&&&int&i;
&&&&&&&&&&&&&&&&&&&&&&&&&&&&for&(i=0;&i&&&sfatleng&&&&i&&&STD_BUF;&i++)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&{
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&sfat_lval.stringValue[i]&=&sfattext[i];
&&&&&&&&&&&&&&&&&&&&&&&&&&&&}
&&&&&&&&&&&&&&&&&&&&&&&&&&&&sfat_lval.stringValue[i]&=&'