⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asn1p_y.c

📁 ASN.1解析解码工具,可以解析各种ASN.1格式的文件,并对相应的BER文件解码
💻 C
📖 第 1 页 / 共 5 页
字号:
      36,    37,    38,    39,    40,    41,    42,    43,    44,    45,
      46,    47,    48,    49,    50,    51,    52,    53,    54,    55,
      56,    57,    58,    59,    60,    61,    62,    63,    64,    65,
      66,    67,    68,    69,    70,    71,    72,    73,    74,    75,
      76,    77,    78,    79,    80,    81,    82,    83,    84,    85,
      86,    87,    88,    89,    90,    91,    92,    93,    94,    95,
      96,    97,    98,    99,   100,   101,   103,   105,   106,   107
};

#if YYDEBUG
static const short yyprhs[] =
{
       0,     0,     2,     4,     7,     8,    18,    19,    21,    25,
      28,    30,    33,    35,    40,    42,    43,    45,    47,    50,
      53,    56,    59,    62,    65,    66,    68,    72,    74,    77,
      79,    81,    83,    84,    88,    90,    91,    93,    97,   100,
     102,   105,   106,   108,   113,   115,   119,   121,   125,   127,
     128,   130,   134,   138,   141,   143,   147,   149,   153,   155,
     159,   164,   166,   168,   173,   177,   181,   188,   195,   197,
     201,   203,   207,   211,   215,   219,   221,   225,   227,   229,
     231,   233,   234,   236,   238,   242,   246,   249,   253,   255,
     257,   261,   264,   266,   268,   274,   275,   277,   279,   283,
     286,   291,   295,   299,   303,   307,   311,   312,   314,   315,
     322,   324,   327,   329,   331,   333,   337,   339,   343,   347,
     351,   352,   355,   357,   362,   367,   372,   379,   386,   388,
     393,   397,   399,   403,   407,   411,   413,   417,   419,   423,
     425,   427,   429,   431,   435,   439,   441,   446,   448,   450,
     454,   455,   459,   461,   463,   465,   467,   469,   471,   473,
     475,   479,   481,   483,   485,   487,   490,   492,   494,   496,
     498,   501,   504,   506,   508,   511,   514,   516,   518,   520,
     522,   524,   527,   529,   532,   534,   536,   538,   540,   542,
     544,   546,   548,   550,   552,   554,   556,   558,   560,   562,
     564,   566,   568,   570,   571,   573,   575,   579,   581,   586,
     590,   595,   597,   599,   603,   609,   611,   615,   619,   623,
     627,   632,   636,   638,   640,   644,   648,   652,   656,   658,
     660,   662,   664,   666,   668,   670,   672,   674,   678,   684,
     686,   690,   692,   696,   697,   699,   701,   703,   705,   707,
     709,   711,   712,   718,   721,   723,   726,   729,   733,   735,
     737,   741,   746,   748,   752,   755,   759,   761,   765,   766,
     768,   770,   773,   776,   780,   782,   786,   788,   793,   798,
     800,   802,   804,   806,   808,   810,   811,   813,   816,   821,
     822,   824,   826,   828,   829,   831,   833,   835,   837,   839,
     840,   842
};
static const short yyrhs[] =
{
     122,     0,   123,     0,   122,   123,     0,     0,   233,   124,
     125,    39,   129,     3,    26,   132,    44,     0,     0,   126,
       0,   108,   127,   109,     0,   108,   109,     0,   128,     0,
     127,   128,     0,   236,     0,   236,   110,    10,   111,     0,
      10,     0,     0,   130,     0,   131,     0,   130,   131,     0,
      46,    89,     0,    57,    89,     0,    25,    89,     0,    48,
      58,     0,    16,    62,     0,     0,   133,     0,   144,   137,
     134,     0,   135,     0,   134,   135,     0,   151,     0,   181,
       0,   149,     0,     0,    43,    16,   136,     0,   191,     0,
       0,   138,     0,    59,   139,   112,     0,    59,    51,     0,
     141,     0,   139,   141,     0,     0,   126,     0,   142,    51,
     233,   140,     0,   143,     0,   142,   113,   143,     0,   233,
       0,   233,   108,   109,     0,   236,     0,     0,   145,     0,
      47,   146,   112,     0,    47,    22,   112,     0,    47,   112,
       0,   147,     0,   146,   113,   147,     0,   233,     0,   233,
     108,   109,     0,   236,     0,   108,   199,   109,     0,   233,
     150,     3,   148,     0,   190,     0,   175,     0,   175,   108,
     154,   109,     0,   233,     3,   171,     0,   233,     3,   161,
       0,   233,   108,   152,   109,     3,   171,     0,   233,   108,
     152,   109,     3,   161,     0,   153,     0,   152,   113,   153,
       0,   233,     0,   233,   114,   236,     0,   233,   114,   233,
       0,   188,   114,   236,     0,   188,   114,   233,     0,   155,
       0,   154,   113,   155,     0,   171,     0,   184,     0,   236,
       0,   148,     0,     0,   157,     0,   158,     0,   157,   113,
     158,     0,   236,   171,   221,     0,   171,   221,     0,    35,
      73,   171,     0,   170,     0,   160,     0,   159,   113,   160,
       0,   236,   171,     0,   170,     0,   171,     0,    33,   108,
     163,   109,   165,     0,     0,    93,     0,   164,     0,   163,
     113,   164,     0,    17,   221,     0,    18,   171,   162,   221,
       0,    18,   179,   221,     0,    18,   180,   221,     0,    17,
     179,   221,     0,    17,   171,   221,     0,    17,   180,   221,
       0,     0,   166,     0,     0,   100,    87,   108,   167,   168,
     109,     0,   169,     0,   168,   169,     0,     4,     0,    19,
       0,   178,     0,   115,   168,   116,     0,   107,     0,   107,
     117,   185,     0,   107,   117,   226,     0,   228,   173,   195,
       0,     0,   172,   174,     0,   150,     0,    32,   108,   159,
     109,     0,    83,   108,   156,   109,     0,    84,   108,   156,
     109,     0,    83,   195,    73,   235,   228,   173,     0,    84,
     195,    73,   235,   228,   173,     0,    23,     0,    23,    40,
      30,   236,     0,    61,    73,   175,     0,    15,     0,    15,
     118,   233,     0,   234,   118,   233,     0,    15,   118,   236,
       0,   234,     0,   234,   118,   176,     0,   177,     0,   176,
     118,   177,     0,   178,     0,    17,     0,    18,     0,    17,
       0,   179,   118,    17,     0,   179,   118,    18,     0,    16,
       0,   236,   150,     3,   182,     0,   184,     0,   185,     0,
     236,   114,   182,     0,     0,   108,   183,   187,     0,    68,
       0,    50,     0,    91,     0,     6,     0,     8,     0,   186,
       0,   226,     0,   236,     0,   233,   118,   236,     0,     7,
       0,    13,     0,    14,     0,     5,     0,   187,     5,     0,
      29,     0,    68,     0,    81,     0,   189,     0,    72,    86,
       0,    70,    56,     0,    82,     0,    49,     0,    41,    76,
       0,    31,    86,     0,    96,     0,    52,     0,   191,     0,
      63,     0,    45,     0,    27,    86,     0,   188,     0,   189,
     223,     0,    28,     0,    53,     0,    54,     0,    55,     0,
      64,     0,    69,     0,    79,     0,    88,     0,    90,     0,
      95,     0,    97,     0,    98,     0,    99,     0,    71,     0,
     104,     0,   105,     0,   102,     0,   103,     0,   101,     0,
       0,   196,     0,   197,     0,   110,   210,   111,     0,   198,
       0,    85,   110,   199,   111,     0,   110,   199,   111,     0,
     198,   110,   199,   111,     0,   107,     0,   200,     0,   200,
     113,   107,     0,   200,   113,   107,   113,   200,     0,   201,
       0,    22,   101,   201,     0,   200,   192,   201,     0,   200,
     193,   201,     0,   201,   194,   201,     0,   202,   110,   199,
     111,     0,   110,   199,   111,     0,   203,     0,   204,     0,
     203,   214,   203,     0,    66,   214,   203,     0,   203,   214,
      65,     0,    66,   214,    65,     0,   205,     0,    85,     0,
      51,     0,    50,     0,    91,     0,   227,     0,   186,     0,
     236,     0,   233,     0,   100,    34,   198,     0,   100,    35,
     108,   206,   109,     0,   207,     0,   206,   113,   207,     0,
     107,     0,   236,   195,   208,     0,     0,   209,     0,    78,
       0,    20,     0,    74,     0,   211,     0,   215,     0,   213,
       0,     0,    36,    30,   108,   212,   187,     0,    37,   171,
       0,   106,     0,   106,   119,     0,   119,   106,     0,   119,
     106,   119,     0,   216,     0,   217,     0,   108,   233,   109,
       0,   216,   108,   218,   109,     0,   219,     0,   218,   113,
     219,     0,   120,   220,     0,   120,   118,   220,     0,   236,
       0,   220,   118,   236,     0,     0,   222,     0,    74,     0,
      38,   182,     0,   108,   109,     0,   108,   224,   109,     0,
     225,     0,   224,   113,   225,     0,   236,     0,   236,   110,
     226,   111,     0,   236,   110,   185,   111,     0,   226,     0,
     107,     0,    10,     0,    11,     0,   226,     0,    12,     0,
       0,   229,     0,   230,   232,     0,   115,   231,    10,   116,
       0,     0,    94,     0,    24,     0,    80,     0,     0,    57,
       0,    46,     0,    15,     0,    16,     0,    16,     0,     0,
     236,     0,     9,     0
};

#endif

#if YYDEBUG
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const short yyrline[] =
{
       0,   359,   365,   371,   387,   387,   416,   418,   421,   425,
     430,   437,   445,   450,   454,   463,   465,   473,   477,   485,
     489,   492,   495,   499,   519,   521,   529,   539,   543,   558,
     566,   579,   586,   586,   600,   612,   614,   616,   627,   632,
     638,   644,   646,   649,   660,   666,   672,   679,   685,   694,
     696,   707,   711,   714,   721,   727,   733,   740,   746,   755,
     757,   767,   781,   791,   807,   817,   833,   839,   846,   856,
     866,   871,   878,   885,   893,   903,   909,   915,   919,   927,
     938,   960,   962,   964,   970,   976,   984,   990,   997,  1002,
    1008,  1014,  1020,  1023,  1029,  1039,  1041,  1044,  1052,  1059,
    1072,  1083,  1093,  1104,  1114,  1125,  1136,  1138,  1143,  1143,
    1152,  1157,  1163,  1168,  1171,  1175,  1180,  1189,  1198,  1209,
    1231,  1238,  1257,  1261,  1267,  1273,  1279,  1289,  1299,  1305,
    1316,  1330,  1339,  1349,  1359,  1369,  1377,  1398,  1407,  1416,
    1418,  1425,  1432,  1438,  1442,  1448,  1468,  1478,  1480,  1481,
    1488,  1488,  1493,  1500,  1506,  1511,  1515,  1519,  1522,  1527,
    1539,  1556,  1561,  1566,  1599,  1609,  1623,  1625,  1626,  1627,
    1628,  1629,  1630,  1631,  1632,  1633,  1634,  1635,  1636,  1642,
    1644,  1645,  1648,  1655,  1667,  1669,  1673,  1677,  1678,  1679,
    1680,  1681,  1685,  1686,  1687,  1688,  1692,  1693,  1700,  1700,
    1701,  1701,  1702,  1704,  1706,  1711,  1713,  1718,  1722,  1731,
    1735,  1740,  1745,  1748,  1754,  1764,  1768,  1771,  1774,  1777,
    1782,  1791,  1799,  1805,  1811,  1818,  1826,  1834,  1843,  1848,
    1852,  1857,  1863,  1868,  1869,  1870,  1883,  1897,  1901,  1906,
    1910,  1915,  1922,  1935,  1937,  1940,  1944,  1947,  1954,  1956,
    1957,  1960,  1960,  1972,  1980,  1982,  1983,  1984,  1986,  1990,
    1998,  2013,  2019,  2026,  2039,  2051,  2066,  2070,  2087,  2092,
    2095,  2100,  2122,  2127,  2132,  2138,  2144,  2152,  2160,  2168,
    2175,  2185,  2190,  2196,  2198,  2228,  2230,  2233,  2240,  2246,
    2248,  2249,  2250,  2253,  2255,  2256,  2259,  2264,  2271,  2278,
    2280,  2285
};
#endif


#if (YYDEBUG) || defined YYERROR_VERBOSE

/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
static const char *const yytname[] =
{
  "$", "error", "$undefined.", "TOK_PPEQ", "TOK_whitespace", "TOK_opaque", 
  "TOK_bstring", "TOK_cstring", "TOK_hstring", "TOK_identifier", 
  "TOK_number", "TOK_number_negative", "TOK_realnumber", "TOK_tuple", 
  "TOK_quadruple", "TOK_typereference", "TOK_capitalreference", 
  "TOK_typefieldreference", "TOK_valuefieldreference", "TOK_Literal", 
  "TOK_ABSENT", "TOK_ABSTRACT_SYNTAX", "TOK_ALL", "TOK_ANY", 
  "TOK_APPLICATION", "TOK_AUTOMATIC", "TOK_BEGIN", "TOK_BIT", 
  "TOK_BMPString", "TOK_BOOLEAN", "TOK_BY", "TOK_CHARACTER", "TOK_CHOICE", 
  "TOK_CLASS", "TOK_COMPONENT", "TOK_COMPONENTS", "TOK_CONSTRAINED", 
  "TOK_CONTAINING", "TOK_DEFAULT", "TOK_DEFINITIONS", "TOK_DEFINED", 
  "TOK_EMBEDDED", "TOK_ENCODED", "TOK_ENCODING_CONTROL", "TOK_END", 
  "TOK_ENUMERATED", "TOK_EXPLICIT", "TOK_EXPORTS", "TOK_EXTENSIBILITY", 
  "TOK_EXTERNAL", "TOK_FALSE", "TOK_FROM", "TOK_GeneralizedTime", 
  "TOK_GeneralString", "TOK_GraphicString", "TOK_IA5String", 
  "TOK_IDENTIFIER", "TOK_IMPLICIT", "TOK_IMPLIED", "TOK_IMPORTS", 
  "TOK_INCLUDES", "TOK_INSTANCE", "TOK_INSTRUCTIONS", "TOK_INTEGER", 
  "TOK_ISO646String", "TOK_MAX", "TOK_MIN", "TOK_MINUS_INFINITY", 
  "TOK_NULL", "TOK_NumericString", "TOK_OBJECT", "TOK_ObjectDescriptor", 
  "TOK_OCTET", "TOK_OF", "TOK_OPTIONAL", "TOK_PATTERN", "TOK_PDV", 
  "TOK_PLUS_INFINITY", "TOK_PRESENT", "TOK_PrintableString", 
  "TOK_PRIVATE", "TOK_REAL", "TOK_RELATIVE_OID", "TOK_SEQUENCE", 
  "TOK_SET", "TOK_SIZE", "TOK_STRING", "TOK_SYNTAX", "TOK_T61String", 
  "TOK_TAGS", "TOK_TeletexString", "TOK_TRUE", "TOK_TYPE_IDENTIFIER", 
  "TOK_UNIQUE", "TOK_UNIVERSAL", "TOK_UniversalString", "TOK_UTCTime", 
  "TOK_UTF8String", "TOK_VideotexString", "TOK_VisibleString", "TOK_WITH", 
  "TOK_EXCEPT", "'^'", "TOK_INTERSECTION", "'|'", "TOK_UNION", 
  "TOK_TwoDots", "TOK_ThreeDots", "'{'", "'}'", "'('", "')'", "';'", 
  "','", "':'", "'['", "']'", "'!'", "'.'", "'<'", "'@'", "ParsedGrammar", 
  "ModuleList", "ModuleDefinition", "@1", "optObjectIdentifier", 
  "ObjectIdentifier", "ObjectIdentifierBody", "ObjectIdentifierElement", 
  "optModuleDefinitionFlags", "ModuleDefinitionFlags", 
  "ModuleDefinitionFlag", "optModuleBody", "ModuleBody", "AssignmentList", 
  "Assignment", "@2", "optImports", "ImportsDefinition", 
  "ImportsBundleSet", "AssignedIdentifier", "ImportsBundle", 
  "ImportsList", "ImportsElement", "optExports", "ExportsDefinition", 
  "ExportsBody", "ExportsElement", "ValueSet", "ValueSetTypeAssignment", 
  "DefinedType", "DataTypeReference", "ParameterArgumentList", 
  "ParameterArgumentName", "ActualParameterList", "ActualParameter", 
  "optComponentTypeLists", "ComponentTypeLists", "ComponentType", 
  "AlternativeTypeLists", "AlternativeType", "ObjectClass", "optUnique", 
  "FieldSpec", "ClassField", "optWithSyntax", "WithSyntax", "@3", 
  "WithSyntaxList", "WithSyntaxToken", "ExtensionAndException", "Type", 
  "NSTD_IndirectMarker", "TypeDeclaration", "TypeDeclarationSet", 
  "ComplexTypeReference", "ComplexTypeReferenceAmpList", 
  "ComplexTypeReferenceElement", "PrimitiveFieldReference", "FieldName", 
  "DefinedObjectClass", "ValueDefinition", "Value", "@4", "SimpleValue", 
  "DefinedValue", "RestrictedCharacterStringValue", "Opaque", 
  "BasicTypeId", "BasicTypeId_UniverationCompatible", "BasicType", 
  "BasicString", "Union", "Intersection", "Except", "optConstraints", 
  "Constraint", "SubtypeConstraint", "SetOfConstraints", 
  "ElementSetSpecs", "ElementSetSpec", "ConstraintSubtypeElement", 
  "ConstraintSpec", "SingleValue", "ContainedSubtype", 
  "InnerTypeConstraint", "WithComponentsList", "WithComponentsElement", 
  "optPresenceConstraint", "PresenceConstraint", "GeneralConstraint", 
  "UserDefinedConstraint", "@5", "ContentsConstraint", 
  "ConstraintRangeSpec", "TableConstraint", "SimpleTableConstraint", 
  "ComponentRelationConstraint", "AtNotationList", "AtNotationElement", 
  "ComponentIdList", "optMarker", "Marker", "UniverationDefinition", 
  "UniverationList", "UniverationElement", "SignedNumber", "RealValue", 
  "optTag", "Tag", "TagTypeValue", "TagClass", "TagPlicit", "TypeRefName", 
  "ObjectClassReference", "optIdentifier", "Identifier", 0
};
#endif

/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const short yyr1[] =
{
       0,   121,   122,   122,   124,   123,   125,   125,   126,   126,
     127,   127,   128,   128,   128,   129,   129,   130,   130,   131,
     131,   131,   131,   131,   132,   132,   133,   134,   134,   135,
     135,   135,   136,   135,   135,   137,   137,   138,   138,   139,
     139,   140,   140,   141,   142,   142,   143,   143,   143,   144,
     144,   145,   145,   145,   146,   146,   147,   147,   147,   148,
     149,   150,   150,   150,   151,   151,   151,   151,   152,   152,
     153,   153,   153,   153,   153,   154,   154,   155,   155,   155,
     155,   156,   156,   157,   157,   158,   158,   158,   158,   159,
     159,   160,   160,   160,   161,   162,   162,   163,   163,   164,
     164,   164,   164,   164,   164,   164,   165,   165,   167,   166,
     168,   168,   169,   169,   169,   169,   170,   170,   170,   171,
     172,   173,   174,   174,   174,   174,   174,   174,   174,   174,
     174,   175,   175,   175,   175,   175,   175,   176,   176,   177,
     178,   178,   179,   179,   179,   180,   181,   182,   182,   182,
     183,   182,   182,   184,   184,   184,   184,   184,   184,   185,
     185,   186,   186,   186,   187,   187,   188,   188,   188,   188,
     188,   188,   188,   188,   188,   188,   188,   188,   188,   189,
     189,   189,   190,   190,   191,   191,   191,   191,   191,   191,
     191,   191,   191,   191,   191,   191,   191,   191,   192,   192,
     193,   193,   194,   195,   195,   196,   196,   197,   197,   198,
     198,   199,   199,   199,   199,   200,   200,   200,   200,   200,
     201,   201,   201,   201,   201,   201,   201,   201,   201,   202,
     202,   203,   203,   203,   203,   203,   204,   205,   205,   206,
     206,   207,   207,   208,   208,   209,   209,   209,   210,   210,
     210,   212,   211,   213,   214,   214,   214,   214,   215,   215,
     216,   217,   218,   218,   219,   219,   220,   220,   221,   221,
     222,   222,   223,   223,   224,   224,   225,   225,   225,   225,
     225,   226,   226,   227,   227,   228,   228,   229,   230,   231,
     231,   231,   231,   232,   232,   232,   233,   233,   234,   235,
     235,   236
};

/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const short yyr2[] =
{
       0,     1,     1,     2,     0,     9,     0,     1,     3,     2,
       1,     2,     1,     4,     1,     0,     1,     1,     2,     2,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -