MCPcopy Create free account
hub / github.com/KasperskyLab/hrtng / ensure_code

Function ensure_code

src/deob.cpp:928–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926
927#if 0
928static bool ensure_code(ea_t ea)
929{
930 if (!is_loaded(ea))
931 return false;
932 if (!is_code(get_flags(ea))) {
933#if 0
934 //does not help
935 if(!inf_is_auto_enabled())
936 inf_set_auto_enabled(true);
937#endif
938 if (!is_auto_enabled())
939 enable_auto(true);
940 //del_items(ea, DELIT_EXPAND);//here maybe user data
941 //create_insn(ea); //does not help
942 auto_make_code(ea);
943 auto_wait();
944 del_func(ea);
945 return is_code(get_flags(ea));
946 }
947 return true;
948}
949#endif
950
951bool disasm_dbl_jc(ea_t ea)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected