| 300 | } |
| 301 | |
| 302 | uint64_t MachO::get_code_limit() { |
| 303 | ERR_FAIL_COND_V_MSG(fa.is_null(), 0, "MachO: File not opened."); |
| 304 | |
| 305 | if (signature_offset == 0) { |
| 306 | return fa->get_length() + PAD(fa->get_length(), 16); |
| 307 | } else { |
| 308 | return get_signature_offset(); |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | uint64_t MachO::get_signature_size() { |
| 313 | ERR_FAIL_COND_V_MSG(fa.is_null(), 0, "MachO: File not opened."); |
no test coverage detected