Force memory location to be ea_t size
| 671 | |
| 672 | // Force memory location to be ea_t size |
| 673 | void 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 |
| 691 | void fixFunction(ea_t ea) |
no test coverage detected