summaryrefslogtreecommitdiffstats
path: root/Lib/test/crashers/bogus_code_obj.py
blob: 5438d912b157f767304e91ce293318d1df50269e (plain)
1
2
3
4
5
6
7
8
9
"""
Broken bytecode objects can easily crash the interpreter.
"""

import types

co = types.CodeType(0, 0, 0, 0, '\x04\x71\x00\x00', (),
                    (), (), '', '', 1, '')
exec co