311a96bc94
Cherry-picked from Qt upstream (commit e488f852fa18c2afc2842a88eff8f66ad4105a45). Original patch source: https://download.qt.io/official_releases/qt/6.11/CVE-2026-6210-qtsvg-6.11.diff Fix: Test types of nodes before downcasting them. A bad cast in QSvgMarker::drawHelper led to endless recursion resulting in a heap overflow. While fixing that, another similar case was also fixed.
287 lines
10 KiB
Plaintext
287 lines
10 KiB
Plaintext
This is flex.info, produced by makeinfo version 7.3 from flex.texi.
|
|
|
|
The flex manual is placed under the same licensing conditions as the
|
|
rest of flex:
|
|
|
|
Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2012 The Flex
|
|
Project.
|
|
|
|
Copyright © 1990, 1997 The Regents of the University of California.
|
|
All rights reserved.
|
|
|
|
This code is derived from software contributed to Berkeley by Vern
|
|
Paxson.
|
|
|
|
The United States Government has rights in this work pursuant to
|
|
contract no. DE-AC03-76SF00098 between the United States Department of
|
|
Energy and the University of California.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions are
|
|
met:
|
|
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the
|
|
distribution.
|
|
|
|
Neither the name of the University nor the names of its contributors
|
|
may be used to endorse or promote products derived from this software
|
|
without specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
|
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
INFO-DIR-SECTION Programming
|
|
START-INFO-DIR-ENTRY
|
|
* flex: (flex). Fast lexical analyzer generator (lex replacement).
|
|
END-INFO-DIR-ENTRY
|
|
|
|
|
|
Indirect:
|
|
flex.info-1: 1620
|
|
flex.info-2: 324918
|
|
|
|
Tag Table:
|
|
(Indirect)
|
|
Node: Top1620
|
|
Node: Copyright7695
|
|
Node: Reporting Bugs9212
|
|
Node: Introduction9472
|
|
Node: Simple Examples10329
|
|
Node: Format13772
|
|
Node: Definitions Section14193
|
|
Ref: Definitions Section-Footnote-116551
|
|
Node: Rules Section16627
|
|
Node: User Code Section17801
|
|
Node: Comments in the Input18247
|
|
Node: Patterns19652
|
|
Ref: case and character ranges26974
|
|
Node: Matching31203
|
|
Node: Actions34640
|
|
Node: Generated Scanner43963
|
|
Node: Start Conditions49186
|
|
Node: Multiple Input Buffers60102
|
|
Ref: Scanning Strings66887
|
|
Node: EOF68580
|
|
Node: Misc Macros70216
|
|
Node: User Values73174
|
|
Node: Yacc75615
|
|
Node: Scanner Options76576
|
|
Node: Options for Specifying Filenames79408
|
|
Ref: option-header79634
|
|
Ref: option-outfile80380
|
|
Ref: option-stdout80745
|
|
Node: Options Affecting Scanner Behavior81764
|
|
Ref: option-case-insensitive82005
|
|
Ref: option-lex-compat82462
|
|
Ref: option-batch83034
|
|
Ref: option-interactive83589
|
|
Ref: option-7bit84991
|
|
Ref: option-8bit86359
|
|
Ref: option-default86799
|
|
Ref: option-always-interactive86871
|
|
Ref: option-posix87499
|
|
Ref: option-stack88712
|
|
Ref: option-stdinit88828
|
|
Ref: option-yylineno89351
|
|
Ref: option-yywrap89830
|
|
Node: Code-Level And API Options90121
|
|
Ref: option-ansi-definitions90348
|
|
Ref: option-ansi-prototypes90431
|
|
Ref: option-bison-bridge90512
|
|
Ref: option-bison-locations90877
|
|
Ref: option-noline91165
|
|
Ref: option-reentrant91715
|
|
Ref: option-c++92347
|
|
Ref: option-array92481
|
|
Ref: option-pointer92587
|
|
Ref: option-prefix92734
|
|
Ref: option-main94326
|
|
Ref: option-nounistd94530
|
|
Ref: option-yyclass95069
|
|
Node: Options for Scanner Speed and Size95597
|
|
Ref: option-align96159
|
|
Ref: option-ecs96669
|
|
Ref: option-meta-ecs97752
|
|
Ref: option-read98260
|
|
Ref: option-full100223
|
|
Ref: option-fast100438
|
|
Node: Debugging Options101390
|
|
Ref: option-backup101577
|
|
Ref: option-debug102146
|
|
Ref: option-perf-report102888
|
|
Ref: option-nodefault103546
|
|
Ref: option-trace103876
|
|
Ref: option-nowarn104191
|
|
Ref: option-verbose104267
|
|
Ref: option-warn104724
|
|
Node: Miscellaneous Options104951
|
|
Node: Performance105435
|
|
Node: Cxx115910
|
|
Node: Reentrant124504
|
|
Node: Reentrant Uses125198
|
|
Node: Reentrant Overview126813
|
|
Node: Reentrant Example127651
|
|
Node: Reentrant Detail128459
|
|
Node: Specify Reentrant128896
|
|
Node: Extra Reentrant Argument129558
|
|
Node: Global Replacement130870
|
|
Node: Init and Destroy Functions132161
|
|
Node: Accessor Methods134797
|
|
Node: Extra Data136184
|
|
Node: About yyscan_t138511
|
|
Node: Reentrant Functions138920
|
|
Ref: bison-functions140421
|
|
Node: Lex and Posix141192
|
|
Node: Memory Management149031
|
|
Ref: memory-management149177
|
|
Node: The Default Memory Management149405
|
|
Ref: The Default Memory Management-Footnote-1153241
|
|
Node: Overriding The Default Memory Management153394
|
|
Ref: Overriding The Default Memory Management-Footnote-1155905
|
|
Node: A Note About yytext And Memory156081
|
|
Node: Serialized Tables157325
|
|
Ref: serialization157469
|
|
Node: Creating Serialized Tables158239
|
|
Node: Loading and Unloading Serialized Tables159886
|
|
Node: Tables File Format161695
|
|
Node: Diagnostics169020
|
|
Node: Limitations172585
|
|
Node: Bibliography174609
|
|
Node: FAQ175291
|
|
Node: When was flex born?179535
|
|
Node: How do I expand backslash-escape sequences in C-style quoted strings?179916
|
|
Node: Why do flex scanners call fileno if it is not ANSI compatible?181231
|
|
Node: Does flex support recursive pattern definitions?182072
|
|
Node: How do I skip huge chunks of input (tens of megabytes) while using flex?182923
|
|
Node: Flex is not matching my patterns in the same order that I defined them.183402
|
|
Node: My actions are executing out of order or sometimes not at all.185188
|
|
Node: How can I have multiple input sources feed into the same scanner at the same time?185983
|
|
Node: Can I build nested parsers that work with the same input file?188034
|
|
Node: How can I match text only at the end of a file?189061
|
|
Node: How can I make REJECT cascade across start condition boundaries?189877
|
|
Node: Why cant I use fast or full tables with interactive mode?190903
|
|
Node: How much faster is -F or -f than -C?192160
|
|
Node: If I have a simple grammar cant I just parse it with flex?192472
|
|
Node: Why doesn't yyrestart() set the start state back to INITIAL?192954
|
|
Node: How can I match C-style comments?193589
|
|
Node: The period isn't working the way I expected.194399
|
|
Node: Can I get the flex manual in another format?195736
|
|
Node: Does there exist a "faster" NDFA->DFA algorithm?196234
|
|
Node: How does flex compile the DFA so quickly?196744
|
|
Node: How can I use more than 8192 rules?197714
|
|
Node: How do I abandon a file in the middle of a scan and switch to a new file?199136
|
|
Node: How do I execute code only during initialization (only before the first scan)?199702
|
|
Node: How do I execute code at termination?200492
|
|
Node: Where else can I find help?200822
|
|
Node: Can I include comments in the "rules" section of the file?201196
|
|
Node: I get an error about undefined yywrap().201576
|
|
Node: How can I change the matching pattern at run time?202064
|
|
Node: How can I expand macros in the input?202426
|
|
Node: How can I build a two-pass scanner?203463
|
|
Node: How do I match any string not matched in the preceding rules?204381
|
|
Node: I am trying to port code from AT&T lex that uses yysptr and yysbuf.205302
|
|
Node: Is there a way to make flex treat NULL like a regular character?206121
|
|
Node: Whenever flex can not match the input it says "flex scanner jammed".206653
|
|
Node: Why doesn't flex have non-greedy operators like perl does?207305
|
|
Node: Memory leak - 16386 bytes allocated by malloc.208670
|
|
Ref: faq-memory-leak208968
|
|
Node: How do I track the byte offset for lseek()?209967
|
|
Node: How do I use my own I/O classes in a C++ scanner?211524
|
|
Node: How do I skip as many chars as possible?212387
|
|
Node: deleteme00213462
|
|
Node: Are certain equivalent patterns faster than others?213907
|
|
Node: Is backing up a big deal?217395
|
|
Node: Can I fake multi-byte character support?219366
|
|
Node: deleteme01220842
|
|
Node: Can you discuss some flex internals?221966
|
|
Node: unput() messes up yy_at_bol224255
|
|
Node: The | operator is not doing what I want225392
|
|
Node: Why can't flex understand this variable trailing context pattern?226983
|
|
Node: The ^ operator isn't working228247
|
|
Node: Trailing context is getting confused with trailing optional patterns229517
|
|
Node: Is flex GNU or not?230785
|
|
Node: ERASEME53232498
|
|
Node: I need to scan if-then-else blocks and while loops233293
|
|
Node: ERASEME55234512
|
|
Node: ERASEME56235625
|
|
Node: ERASEME57237018
|
|
Node: Is there a repository for flex scanners?238051
|
|
Node: How can I conditionally compile or preprocess my flex input file?238367
|
|
Node: Where can I find grammars for lex and yacc?238840
|
|
Node: I get an end-of-buffer message for each character scanned.239187
|
|
Node: unnamed-faq-62239782
|
|
Node: unnamed-faq-63240830
|
|
Node: unnamed-faq-64242142
|
|
Node: unnamed-faq-65243143
|
|
Node: unnamed-faq-66243944
|
|
Node: unnamed-faq-67245074
|
|
Node: unnamed-faq-68246076
|
|
Node: unnamed-faq-69247233
|
|
Node: unnamed-faq-70247966
|
|
Node: unnamed-faq-71248742
|
|
Node: unnamed-faq-72249971
|
|
Node: unnamed-faq-73251039
|
|
Node: unnamed-faq-74251983
|
|
Node: unnamed-faq-75252953
|
|
Node: unnamed-faq-76254125
|
|
Node: unnamed-faq-77254846
|
|
Node: unnamed-faq-78255754
|
|
Node: unnamed-faq-79256767
|
|
Node: unnamed-faq-80258502
|
|
Node: unnamed-faq-81259845
|
|
Node: unnamed-faq-82262685
|
|
Node: unnamed-faq-83263667
|
|
Node: unnamed-faq-84265472
|
|
Node: unnamed-faq-85266590
|
|
Node: unnamed-faq-86267637
|
|
Node: unnamed-faq-87268610
|
|
Node: unnamed-faq-88269271
|
|
Node: unnamed-faq-90270127
|
|
Node: unnamed-faq-91271425
|
|
Node: unnamed-faq-92273908
|
|
Node: unnamed-faq-93274422
|
|
Node: unnamed-faq-94275364
|
|
Node: unnamed-faq-95276806
|
|
Node: unnamed-faq-96278339
|
|
Node: unnamed-faq-97279123
|
|
Node: unnamed-faq-98279805
|
|
Node: unnamed-faq-99280495
|
|
Node: unnamed-faq-100281454
|
|
Node: unnamed-faq-101282179
|
|
Node: What is the difference between YYLEX_PARAM and YY_DECL?283012
|
|
Node: Why do I get "conflicting types for yylex" error?283536
|
|
Node: How do I access the values set in a Flex action from within a Bison action?284066
|
|
Node: Appendices284495
|
|
Node: Makefiles and Flex284704
|
|
Ref: Makefiles and Flex-Footnote-1288050
|
|
Ref: Makefiles and Flex-Footnote-2288175
|
|
Ref: Makefiles and Flex-Footnote-3288366
|
|
Node: Bison Bridge288417
|
|
Ref: Bison Bridge-Footnote-1291218
|
|
Node: M4 Dependency291410
|
|
Ref: M4 Dependency-Footnote-1292904
|
|
Node: Common Patterns293040
|
|
Node: Numbers293331
|
|
Node: Identifiers294324
|
|
Node: Quoted Constructs295155
|
|
Node: Addresses296229
|
|
Node: Indices297549
|
|
Node: Concept Index297787
|
|
Node: Index of Functions and Macros324918
|
|
Node: Index of Variables329887
|
|
Node: Index of Data Types331553
|
|
Node: Index of Hooks332441
|
|
Node: Index of Scanner Options333009
|
|
|
|
End Tag Table
|
|
|
|
|
|
Local Variables:
|
|
coding: utf-8
|
|
End:
|