MCPcopy Create free account
hub / github.com/Mizari/herast / replace_expr

Method replace_expr

herast/tree/ast_patch.py:137–140  ·  view source on GitHub ↗
(cls, expr:idaapi.cexpr_t, new_expr:idaapi.cexpr_t)

Source from the content-addressed store, hash-verified

135
136 @classmethod
137 def replace_expr(cls, expr:idaapi.cexpr_t, new_expr:idaapi.cexpr_t):
138 assert expr.is_expr()
139 assert new_expr.is_expr()
140 return cls(cls.PatchType.REPLACE_EXPR, expr, new_expr)
141
142 @classmethod
143 def scheme_modified(cls):

Callers 1

on_matched_itemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected