MCPcopy Create free account
hub / github.com/REhints/HexRaysCodeXplorer / fixEa

Function fixEa

src/HexRaysCodeXplorer/MSVCObjectFormatParser.cpp:673–688  ·  view source on GitHub ↗

Force memory location to be ea_t size

Source from the content-addressed store, hash-verified

671
672// Force memory location to be ea_t size
673void fixEa(ea_t ea)
674{
675#ifndef __EA64__
676 if (!is_dword(get_flags(ea)))
677#else
678 if (!is_qword(get_flags(ea)))
679#endif
680 {
681 setUnknown(ea, sizeof(ea_t));
682#ifndef __EA64__
683 create_dword(ea, sizeof(ea_t));
684#else
685 create_qword(ea, sizeof(ea_t));
686#endif
687 }
688}
689
690// Make address a function
691void fixFunction(ea_t ea)

Callers 1

getTableInfoMethod · 0.85

Calls 1

setUnknownFunction · 0.85

Tested by

no test coverage detected