Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mizari/herast
/ functions
Functions
393 in github.com/Mizari/herast
⨍
Functions
393
◇
Types & classes
89
↓ 19 callers
Method
check
(self, expr, ctx: MatchContext)
herast/tree/patterns/expressions.py:102
↓ 18 callers
Method
__init__
(self, num=None, **kwargs)
herast/tree/patterns/expressions.py:97
↓ 14 callers
Method
check
(self, instruction, ctx: MatchContext)
herast/tree/patterns/instructions.py:118
↓ 14 callers
Method
get_item
(self, name: str)
herast/tree/match_context.py:18
↓ 11 callers
Method
__init__
:param condition: if condition :param then_branch: if then block :param else_bran: if else block :param should_wrap_in_block: whether should
herast/tree/patterns/instructions.py:88
↓ 11 callers
Function
register_storage_scheme
API for storages to export their schemes. :param name: unique identificator for a scheme :return: call status
herast/passive_manager.py:72
↓ 8 callers
Function
__get_settings
(globally=False)
herast/settings/settings_manager.py:105
↓ 8 callers
Method
save
(self)
herast/settings/base_settings.py:97
↓ 7 callers
Function
get_children
(item)
herast/tree/ast_iteration.py:27
↓ 7 callers
Function
get_storage
Get storage by its path.
herast/passive_manager.py:98
↓ 7 callers
Method
refresh_all
(self)
herast/views/storage_manager_view.py:186
↓ 6 callers
Function
CallInsnPat
Pseudopattern for quite popular operation of Expression Instruction with Call Expression
herast/tree/patterns/helpers.py:85
↓ 6 callers
Function
make_call_helper_instr
(name, *args)
herast/tree/utils.py:154
↓ 5 callers
Function
AsgInsnPat
Pseudopattern for quite popular operation of Expression Instruction with Assignment Expression
herast/tree/patterns/helpers.py:91
↓ 5 callers
Method
__init__
(self)
herast/views/storage_manager_view.py:549
↓ 5 callers
Method
get_item
(self, index)
herast/views/storage_manager_view.py:99
↓ 5 callers
Method
match_cfunc
Match schemes in decompiled function.
herast/tree/matcher.py:52
↓ 5 callers
Method
update
(self, ctx)
herast/tree/actions.py:47
↓ 4 callers
Function
__find_python_files_in_folder
(folder: str)
herast/passive_manager.py:13
↓ 4 callers
Function
__get_storage_status_text
(storage_path: str)
herast/passive_manager.py:26
↓ 4 callers
Function
__help_objects
(name, objs)
herapi.py:78
↓ 4 callers
Method
add_scheme
(self, name:str, scheme:Scheme)
herast/tree/matcher.py:22
↓ 4 callers
Function
build_path
(ast)
herast/tree/ast_processor.py:9
↓ 4 callers
Method
create
(cls)
herast/settings/base_settings.py:61
↓ 4 callers
Method
get_schemes
(self)
herast/schemes_storage.py:44
↓ 4 callers
Method
index
(self, row, column, parent_index)
herast/views/storage_manager_view.py:86
↓ 4 callers
Method
is_loaded
(self)
herast/schemes_storage.py:48
↓ 4 callers
Function
match_objects_xrefs
Match objects' xrefs in functions. Might decompile a lot of functions
herapi.py:54
↓ 4 callers
Method
remove_instr
(cls, item:idaapi.cinsn_t)
herast/tree/ast_patch.py:126
↓ 4 callers
Method
replace_instr
(cls, item:idaapi.cinsn_t, new_item:idaapi.cinsn_t)
herast/tree/ast_patch.py:131
↓ 4 callers
Method
restart_iteration
(self)
herast/tree/ast_processor.py:57
↓ 3 callers
Function
__add_storage_file
(storage_path: str)
herast/passive_manager.py:43
↓ 3 callers
Method
__init__
(self, *pats: BasePat, **kwargs)
herast/tree/patterns/abstracts.py:25
↓ 3 callers
Function
__print_padded
(*args, padlen=0)
herapi.py:74
↓ 3 callers
Method
_get_file_item_by_index
(self, idx)
herast/views/storage_manager_view.py:179
↓ 3 callers
Method
add_model_folder
(self, storage_folder: str)
herast/views/storage_manager_view.py:234
↓ 3 callers
Method
add_storage_file
(self, file_path: str)
herast/settings/base_settings.py:12
↓ 3 callers
Function
collect_gotos
(haystack)
herast/tree/ast_iteration.py:49
↓ 3 callers
Function
collect_labels
(haystack)
herast/tree/ast_iteration.py:60
↓ 3 callers
Method
disable
(self)
herast/views/storage_manager_view.py:69
↓ 3 callers
Method
do_patch
(self, ast_ctx:ASTContext)
herast/tree/ast_patch.py:146
↓ 3 callers
Method
get_current
(self)
herast/tree/ast_processor.py:78
↓ 3 callers
Method
initialize
(self)
herast/tree/actions.py:18
↓ 3 callers
Method
is_directory
(self)
herast/views/storage_manager_view.py:60
↓ 3 callers
Method
is_file
(self)
herast/views/storage_manager_view.py:63
↓ 3 callers
Method
match
Match schemes for function body. :param functions: matched functions. Can be decompiled cfuncs, function addresses or function names
herast/tree/matcher.py:28
↓ 3 callers
Method
match_ast_tree
(self, ast_tree:idaapi.citem_t, ast_ctx: ASTContext, schemes:list[Scheme])
herast/tree/matcher.py:67
↓ 3 callers
Function
remove_instr
(item:idaapi.cinsn_t, ctx:ASTContext)
herast/tree/ast_patch.py:19
↓ 3 callers
Method
remove_storage_folder
(self, folder_path: str)
herast/settings/base_settings.py:46
↓ 2 callers
Method
__get_single_item
(self, indices)
herast/views/storage_manager_view.py:299
↓ 2 callers
Method
__init__
(self)
herast/tree/actions.py:36
↓ 2 callers
Method
__init__
(self, value=None, **kwargs)
herast/tree/patterns/helpers.py:11
↓ 2 callers
Function
__load_storage
(storage: SchemesStorage)
herast/passive_manager.py:53
↓ 2 callers
Function
__unload_storage
(storage: SchemesStorage)
herast/passive_manager.py:48
↓ 2 callers
Method
_check_scheme
(self, scheme: Scheme, item: idaapi.citem_t, ast_ctx: ASTContext)
herast/tree/matcher.py:113
↓ 2 callers
Function
_color_with_opacity
(tone, opacity=160)
herast/views/storage_manager_view.py:10
↓ 2 callers
Method
add_model_file
(self, file_path: str = None)
herast/views/storage_manager_view.py:292
↓ 2 callers
Method
base_check
Decorator for child classes instead of inheritance, since before and after calls are needed.
herast/tree/patterns/base_pattern.py:41
↓ 2 callers
Method
check
(self, item, ctx: MatchContext)
herast/tree/patterns/helpers.py:16
↓ 2 callers
Method
check
(self, item, ctx: MatchContext)
herast/tree/patterns/abstracts.py:32
↓ 2 callers
Function
cond_insn
try to match first on IfPat(Any, pat), then on pat
examples/passives/cplusplus/sharedptr.py:98
↓ 2 callers
Method
data
(self, column)
herast/views/storage_manager_view.py:54
↓ 2 callers
Method
disable_storage
(self, storage_path: str)
herast/settings/base_settings.py:28
↓ 2 callers
Method
disable_storage
(self, indices)
herast/views/storage_manager_view.py:334
↓ 2 callers
Method
enable
(self)
herast/views/storage_manager_view.py:66
↓ 2 callers
Method
enable_storage
(self, storage_path: str)
herast/settings/base_settings.py:24
↓ 2 callers
Function
get_func_start
(addr:int)
herast/tree/utils.py:12
↓ 2 callers
Function
iterate_all_subinstrs
(instr)
herast/tree/ast_iteration.py:40
↓ 2 callers
Function
iterate_all_subitems
(item)
herast/tree/ast_iteration.py:33
↓ 2 callers
Method
load_module
(self)
herast/schemes_storage.py:59
↓ 2 callers
Function
make_arglist
(*args)
herast/tree/utils.py:125
↓ 2 callers
Method
on_tree_iteration_start
Callback for the start of AST iteration. Generally contains state initialization and state clear.
herast/tree/scheme.py:38
↓ 2 callers
Method
pop_current
(self)
herast/tree/ast_processor.py:84
↓ 2 callers
Method
rebuild
(self)
herast/tree/ast_context.py:18
↓ 2 callers
Method
remove_scheme
(self, scheme_name: str)
herast/tree/matcher.py:25
↓ 2 callers
Function
replace_instr
(item, new_item:idaapi.cinsn_t, ctx:ASTContext)
herast/tree/ast_patch.py:56
↓ 2 callers
Function
strip_casts
(expr)
herast/tree/utils.py:157
↓ 1 callers
Method
Show
(self, caption=None, options=0)
herast/views/storage_manager_view.py:518
↓ 1 callers
Function
__add_storages_folder
(storages_folder_path: str)
herast/passive_manager.py:39
↓ 1 callers
Function
__generate_expression_patterns
()
herast/tree/patterns/expressions.py:370
↓ 1 callers
Method
__init__
(self, first_call, excstr_getter, last_call, **kwargs)
examples/passives/collapse_exception_branch.py:11
↓ 1 callers
Function
__replace_instr
(item:idaapi.cinsn_t, new_item:idaapi.cinsn_t)
herast/tree/ast_patch.py:10
↓ 1 callers
Method
_get_item_by_index
(self, idx)
herast/views/storage_manager_view.py:172
↓ 1 callers
Method
add_assignment
(self, func_ea)
examples/scripts/assignment_counter.py:19
↓ 1 callers
Method
add_file
(self, file_path: str = None)
herast/views/storage_manager_view.py:273
↓ 1 callers
Method
add_folder_storage
(self, storages_folder: str)
herast/settings/base_settings.py:18
↓ 1 callers
Method
add_new_folder
(self, storage_folder: str = None)
herast/views/storage_manager_view.py:213
↓ 1 callers
Method
add_object
(self, object_ea, object_name, object_type)
examples/scripts/object_setter.py:23
↓ 1 callers
Method
add_renaming
(self, func_addr, new_name)
examples/scripts/function_renamer.py:28
↓ 1 callers
Method
apply_new_info
(self, default_type=None)
examples/scripts/object_setter.py:41
↓ 1 callers
Method
apply_patch
(self, ast_patch:ASTPatch, ast_ctx:ASTContext)
herast/tree/ast_processor.py:126
↓ 1 callers
Method
apply_renamings
(self)
examples/scripts/function_renamer.py:45
↓ 1 callers
Function
ask_folder
(title)
herast/views/storage_manager_view.py:567
↓ 1 callers
Method
bind_item
(self, name: str, item)
herast/tree/match_context.py:21
↓ 1 callers
Method
check
(self, hx_view)
herast/tree/actions.py:68
↓ 1 callers
Method
check_scheme
(self, scheme: Scheme, item: idaapi.citem_t, ast_ctx: ASTContext)
herast/tree/matcher.py:103
↓ 1 callers
Method
check_schemes
Match item in schemes. :param tree_processor: :param item: AST item :return: is item modified/removed?
herast/tree/matcher.py:89
↓ 1 callers
Method
child
(self, row)
herast/views/storage_manager_view.py:34
↓ 1 callers
Method
childrenCount
(self)
herast/views/storage_manager_view.py:46
↓ 1 callers
Method
clear_model_files
(self)
herast/views/storage_manager_view.py:289
next →
1–100 of 393, ranked by callers