Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar
angr.analyses.decompiler.structured_codegen.dummy 源代码
from __future__ import annotations
from .base import BaseStructuredCodeGenerator
[文档]
class DummyStructuredCodeGenerator ( BaseStructuredCodeGenerator ):
"""
A dummy structured code generator that only stores user-specified information.
"""
[文档]
def __init__ ( self , flavor : str , expr_comments = None , stmt_comments = None , configuration = None , const_formats = None ):
super () . __init__ ( flavor )
self . expr_comments = expr_comments
self . stmt_comments = stmt_comments
self . configuration = configuration
self . const_formats = const_formats