⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.12
/
test
/
support
/
__pycache__
/
View File Name :
bytecode_helper.cpython-312.pyc
CRh d Z ddlZddlZddlZddlmZmZmZ e Z G d dej Z G d dej Z G d d e Z G d de Z G d d e Zy)zGbytecode_helper - support tools for testing correct bytecode generation N)compiler_codegenoptimize_cfgassemble_code_objectc * e Zd ZdZd ZefdZefdZy)BytecodeTestCasez1Custom assertion methods for inspecting bytecode.c x t j }t j || |j S )N)file)ioStringIOdisgetvalue)selfcoss 3/usr/lib/python3.12/test/support/bytecode_helper.pyget_disassembly_as_stringz*BytecodeTestCase.get_disassembly_as_string s' KKMzz| c F | j |t j t j | D ]- }|j |k( s|t u s|j |k( s+|c S | j | }|t u r|d|}n d}||||fz }| j | y)zAReturns instr if opname is found, otherwise throws AssertionErrorz not found in bytecode: z!(%s,%r) not found in bytecode: %sN) assertInr opmapget_instructionsopname_UNSPECIFIEDargvalr failr xr r instrdisassemblymsgs r assertInBytecodez!BytecodeTestCase.assertInBytecode s fcii())!,E||v%\)U\\V-C L - 44Q7\!5;[IC6C55C #r c R | j |t j t j | D ]o }|j |k( s| j | }|t u r|d|}| j | E|j |k( sUd}||||fz }| j | q y)z(Throws AssertionError if opname is foundz occurs in bytecode: z(%s,%r) occurs in bytecode: %sN) r r r r r r r r r r s r assertNotInBytecodez$BytecodeTestCase.assertNotInBytecode! s fcii())!,E||v%"<