Undefined, unspecified and implementation-defined behavior
⚓
Source | Undefined behavior |
---|---|
3.5.1.2 Too Few Arguments |
Supplying too few arguments to a function in an unsafe call.
|
3.5.1.3 Too Many Arguments |
Supplying too many arguments to a function in an unsafe call.
|
22.3.10.4 Undefined FORMAT Modifier Combinations |
|
22.3.6.3 Tilde Greater-Than-Sign: End of Justification |
|
5.2 Transfer of Control to an Exit Point |
|
Function ASIN, ACOS, ATAN |
[I don't understand. Review later.] |
Macro DEFMACRO |
|
Function INTERN |
|
Local Macro PPRINT-POP |
|
19.2.2.2.3 :UNSPECIFIC as a Component Value |
|
22.3.8.2 Tilde Right-Paren: End of Case Conversion |
|
3.1.2.1.3 Self-Evaluating Objects |
|
Function COPY-LIST |
|
Macro WITH-ACCESSORS |
|
Macro WITH-HASH-TABLE-ITERATOR |
|
3.7.1 Modification of Literal Objects |
|
21.1.4 Restrictions on Composite Streams |
|
Macro WITH-SLOTS |
|
Function ADJUST-ARRAY |
|
Function SLOT-MAKUNBOUND |
|
Function FMAKUNBOUND |
|
Function FORMAT |
|
System Class SYMBOL |
|
Accessor MACRO-FUNCTION |
|
3.1.2.1.2.2 Macro Forms |
|
Standard Generic Function UPDATE-INSTANCE-FOR-DIFFERENT-CLASS |
|
Macro PPRINT-LOGICAL-BLOCK |
|
Special Operator UNWIND-PROTECT |
[3 examples of code having undefined consequences.] |
Variable *MACROEXPAND-HOOK* |
|
22.3.7.3 Tilde Right-Bracket: End of Conditional Expression |
|
Macro WITH-OPEN-STREAM |
|
22.3.7.5 Tilde Right-Brace: End of Iteration |
|
Function TYPEP |
|
Macro WITH-OUTPUT-TO-STRING |
|
Special Operator RETURN-FROM |
[An example of code with undefined behavior.] |
Function TREE-EQUAL |
|
2.4.8.9 Sharpsign X |
|
Function GET-OUTPUT-STREAM-STRING |
|
System Class BROADCAST-STREAM |
|
3.3 Declarations |
|
Function LAST |
|
6.1.2.2 Local Variable Initializations |
|
2.4.8.10 Sharpsign R |
|
2.1.1.2 The Standard Readtable |
|
Accessor FIND-CLASS |
|
2.4.8 Sharpsign |
[Several undefined sharpsign dispatch chars.] |
Standard Generic Function CHANGE-CLASS |
(In the notes section, which is technically not normative...) |
1.4.4.22 The ``Value Type'' Section of a Dictionary Entry |
|
3.2.2.3 Semantic Constraints |
|
Function READ-DELIMITED-LIST |
|
11.1.2.1.2 Constraints on the COMMON-LISP Package for Conforming Programs |
|
Function RENAME-PACKAGE |
|
2.4.8.3 Sharpsign Left-Parenthesis |
|
Macro DEFINE-CONDITION |
|
21.1.1.1.2 Open and Closed Streams |
|
Macro DEFCONSTANT |
|
3.4.1.4.1.1 Examples of Suppressing Keyword Argument Checking |
[An example of undefined behavior.] |
Function PAIRLIS |
|
Function UNEXPORT |
|
22.3.10.3 Additional FORMAT Parameters |
|
21.1.2 Stream Variables |
|
Macro DEFPACKAGE |
|
Function APPLY |
Destructively modifying a &rest list.
|
Special Operator FLET, LABELS, MACROLET |
|
3.5.1.4 Unrecognized Keyword Arguments |
Supplying an unrecognized keyword argument to a function in an unsafe call without suppression of keyword argument checking either on the callee side with &allow-other-keys or on the caller side with |
Function ED |
|
Function ENDP |
(In the notes section, which is technically not normative...) |
Function INVOKE-RESTART-INTERACTIVELY |
|
3.1.2.1.1.3 Constant Variables |
|
Special Operator GO |
|
Function CONCATENATED-STREAM-STREAMS |
|
System Class FUNCTION |
[Important details about function types.] |
14.1.1.1 General Restrictions on Parameters that must be Trees |
|
Standard Generic Function DESCRIBE-OBJECT |
|
Function EXP, EXPT |
|
Macro DEFINE-COMPILER-MACRO |
(In the notes section, which is technically not normative...) |
Accessor COMPILER-MACRO-FUNCTION |
|
3.6 Traversal Rules and Side Effects |
|
2.3.5 Valid Patterns for Tokens |
[A few undefined patterns for tokens.] |
22.3.10.2 Missing and Additional FORMAT Arguments |
|
22.3.9.1 Tilde Semicolon: Clause Separator |
|
Macro WITH-PACKAGE-ITERATOR |
|
Function COMPILE |
(!) |
Macro WITH-INPUT-FROM-STRING |
|
Glossary I |
|
3.4.6 Boa Lambda Lists |
|
Function DELETE-PACKAGE |
|
Local Macro CALL-METHOD, MAKE-METHOD |
|
2.4.8.8 Sharpsign O |
|
6.1.2.1.6 The for-as-hash subclause |
|
Special Operator THE |
|
14.1.2.3 General Restrictions on Parameters that must be Lists |
|
9.1.2.1 Condition Designators |
|
Local Function NEXT-METHOD-P |
|
Special Operator QUOTE |
|
Special Operator THROW |
(In the examples section, which is technically not normative...) |
3.2.2.1.1 Purpose of Compiler Macros |
|
16.1.2 Subtypes of STRING |
|
Local Function CALL-NEXT-METHOD |
|
Function COMPUTE-RESTARTS |
|
Macro DEFSTRUCT |
|
Macro DEFCLASS |
|
3.5.1.7 Destructuring Mismatch |
|
7.5.3 Inheritance of Slots and Slot Options |
|
Function MAKE-ARRAY |
|
7.1.3 Defaulting of Initialization Arguments |
|
Glossary F |
|
Macro DO-SYMBOLS, DO-EXTERNAL-SYMBOLS, DO-ALL-SYMBOLS |
|
3.5.1.6 Odd Number of Keyword Arguments |
Supplying an odd number of keyword arguments to a function in an unsafe call without suppression of keyword argument checking either on the callee side with &allow-other-keys or on the caller side with |
Macro WITH-OPEN-FILE |
|
Symbol DECLARE |
|
Function SLOT-BOUNDP |
|
Function MAP |
|
3.5.1.5 Invalid Keyword Arguments |
Supplying a keyword argument to a function using a name that is not a symbol in an unsafe call without suppression of keyword argument checking either on the callee side with &allow-other-keys or on the caller side with |
2.4.6 Backquote |
|
Local Macro LOOP-FINISH |
|
Declaration TYPE |
|
Function DELETE-FILE |
|
Glossary E |
|
1.4.4.3 The ``Arguments and Values'' Section of a Dictionary Entry |
|
Local Macro PPRINT-EXIT-IF-LIST-EXHAUSTED |
|
Standard Generic Function PRINT-OBJECT |
|
Function MAKE-SYMBOL |
|
2.4.8.7 Sharpsign B |
|
Macro DEFINE-METHOD-COMBINATION |
Using setf on a form obtained with the :arguments option. |
Function SYMBOL-NAME |
|
Macro DEFTYPE |
|
- 1.5.2 Conforming Programs:
Conforming code shall not depend on the consequences of undefined or unspecified situations.
- 9.1 Condition System Concepts
When an error goes undetected, the effects can be implementation-dependent, implementation-defined, unspecified, or undefined.
- 1.4.2 Error Terminology
- 1.6 Language Extensions
- 3.2.5 Exceptional Situations in the Compiler
- 1.5.1.2 Documentation of Implementation-Dependent Features
- 1.5.1.4.1.1 Examples of Resolution of Apparent Conflicts in Exceptional Situations
⚓
Source | Unspecified behavior |
---|---|
Macro DEFMACRO |
[An example of unspecified behavior.] |
3.2.2.1.3 When Compiler Macros Are Used |
|
Function SLOT-VALUE |
Attempting to read from or write to a slot for an object that doesn't have a slot with that name and that has a metaclass other than standard-class or built-in-class.
|
Declaration OPTIMIZE |
|
3.4.11 Syntactic Interaction of Documentation Strings and Declarations |
|
Macro WITH-HASH-TABLE-ITERATOR |
|
Macro MULTIPLE-VALUE-BIND |
|
3.2.4.4 Additional Constraints on Externalizable Objects |
|
Macro RESTART-CASE |
|
Function ADJUST-ARRAY |
(!) |
|
Macro DECLAIM |
|
1.5.2 Conforming Programs |
|
Macro PPRINT-LOGICAL-BLOCK |
|
9.1 Condition System Concepts |
|
Function / |
|
19.3.1.1.8 Other Syntax in a Logical Pathname Namestring |
|
3.2.1 Compiler Terminology |
|
3.2.2.3 Semantic Constraints |
|
2.3.1.1 Potential Numbers as Tokens |
|
1.4.2 Error Terminology |
[TODO] |
Variable *LOAD-PATHNAME*, *LOAD-TRUENAME* |
|
1.6 Language Extensions |
|
Macro DEFINE-CONDITION |
|
Function MAPHASH |
|
18.1.2 Modifying Hash Table Keys |
|
3.2.4.2.2 Definition of Similarity |
|
System Class FUNCTION |
|
Standard Generic Function DESCRIBE-OBJECT |
(In the notes section, which is technically not normative...) |
Function FIND-RESTART |
(In the notes section, which is technically not normative...) |
Function CLOSE |
|
7.1.5 Shared-Initialize |
|
2.3.5 Valid Patterns for Tokens |
|
Macro WITH-PACKAGE-ITERATOR |
|
Function UNREAD-CHAR |
|
Glossary I |
|
Function LDIFF, TAILP |
(In the notes section, which is technically not normative...) |
Function DELETE-PACKAGE |
|
Standard Generic Function ALLOCATE-INSTANCE |
|
Macro DEFINE-SYMBOL-MACRO |
|
6.1.3 Value Accumulation Clauses |
For for
|
11.1.1.2.4 Locating a Symbol in a Package |
|
3.2.3.1 Processing of Top Level Forms |
|
Function MAKE-ARRAY |
|
Function MAKE-PACKAGE |
|
Condition Type STORAGE-CONDITION |
|
Declaration IGNORE, IGNORABLE |
(!) |
Function OPEN |
|
Variable *COMPILE-FILE-PATHNAME*, *COMPILE-FILE-TRUENAME* |
|
Standard Generic Function MAKE-LOAD-FORM |
|
17.2.1 Satisfying a Two-Argument Test |
|
⚓
Source | Unspecified behavior |
---|---|
2.3.4 Symbols as Tokens |
|
19.2.2.1.1 Special Characters in Pathname Components |
|
Function DRIBBLE |
|
5.1.2.5 APPLY Forms as Places |
|
Constant Variable MOST-POSITIVE-SHORT-FLOAT... |
|
19.2.2.2.3 :UNSPECIFIC as a Component Value |
|
19.1.2 Pathnames as Filenames |
|
22.1.1.1 Multiple Possible Textual Representations |
|
Declaration OPTIMIZE |
|
13.1.3 Character Attributes |
|
1.4.4.13 The ``Method Signature'' Section of a Dictionary Entry |
|
19.1.1 Namestrings as Filenames |
|
Function DIRECTORY |
|
Variable *TERMINAL-IO* |
|
9.1 Condition System Concepts |
|
Macro TIME |
|
System Class BROADCAST-STREAM |
|
Function COMPILE-FILE |
|
13.1.4.2 Alphabetic Characters |
|
Function TRANSLATE-PATHNAME |
|
Function CHAR-INT |
|
13.1.2.1 Character Scripts |
|
13.1.9 Character Encodings |
|
21.1.1.1.3 Interactive Streams |
|
Macro DEFPARAMETER, DEFVAR |
|
Type FIXNUM |
|
1.5.2.1 Use of Implementation-Defined Language Features |
|
1.4.2 Error Terminology | |
Function CHAR=, CHAR/=, CHAR<, CHAR>... |
|
Macro STEP |
|
1.6 Language Extensions |
|
1.4.4.5 The ``Class Precedence List'' Section of a Dictionary Entry |
|
25.1.1 Top level loop |
|
19.3.1.1.1 The Host part of a Logical Pathname Namestring |
|
19.2.2.4.6 Restrictions on Examining a Pathname Version Component |
|
1.5.1.2 Documentation of Implementation-Dependent Features |
(Does any existing implementation actually do this??) |
1.4.1.3 Special Symbols |
|
Glossary D |
|
Function ED |
|
Glossary P |
|
3.2.4.2.2 Definition of Similarity |
|
Function CHAR-UPCASE, CHAR-DOWNCASE |
|
22.3.1.1 Tilde C: Character |
|
Macro WITH-STANDARD-IO-SYNTAX |
|
Accessor LOGICAL-PATHNAME-TRANSLATIONS |
|
Function COMPILE-FILE-PATHNAME |
|
Type SHORT-FLOAT, SINGLE-FLOAT, DOUBLE-FLOAT, LONG-FLOAT |
|
Type BASE-CHAR |
|
Glossary I |
|
22.1.3.7 Printing Other Vectors |
|
Function PROCLAIM |
|
13.1.4 Character Categories |
|
3.4.6 Boa Lambda Lists |
|
Glossary S |
|
13.1.4.4 Numeric Characters |
|
13.1.6 Ordering of Characters |
|
7.6.1 Introduction to Generic Functions |
|
Glossary N |
|
22.1.3.8 Printing Other Arrays |
|
11.1.2.2 The COMMON-LISP-USER Package |
(!) |
Glossary U |
|
11.1.2.4 Implementation-Defined Packages |
|
13.1.4.3.4 Case of Implementation-Defined Characters |
|
Glossary W |
|
Function LOAD-LOGICAL-PATHNAME-TRANSLATIONS |
|
Function CHAR-NAME |
|
Function STRING |
|
Glossary F |
|
Function PARSE-NAMESTRING |
|
Variable *PRINT-RIGHT-MARGIN* |
(In the notes section, which is technically not normative...) |
Function MAKE-PACKAGE |
(!) |
Symbol DECLARE |
|
System Class READTABLE |
|
Function GET-INTERNAL-RUN-TIME |
|
Glossary A |
|
Function APROPOS, APROPOS-LIST |
|
Glossary L |
|
Function TRANSLATE-LOGICAL-PATHNAME |
|
3.3.3 Declaration Identifiers |
|
Glossary E |
|
Function PATHNAME-MATCH-P |
|
Standard Generic Function PRINT-OBJECT |
|
Standard Generic Function MAKE-LOAD-FORM |
(??) |
9.1.4.2.1 Interactive Use of Restarts |
|
Standard Generic Function DOCUMENTATION |
(!) |