Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty functions: only abort() calls in function bodies #376

Closed
PeterMatula opened this issue Aug 16, 2018 · 2 comments
Closed

Empty functions: only abort() calls in function bodies #376

PeterMatula opened this issue Aug 16, 2018 · 2 comments

Comments

@PeterMatula
Copy link
Collaborator

Some functions from sample.zip (probably Delphi) decompile (via RetDec IDA plugin) into functions with empty bodies with only abort() call and UNREACHABLE comment. E.g.

// Address range: 0x4169830c - 0x4169837c
int32_t sub_4169830C(void) {
    // 0x4169830c
    abort();
    // UNREACHABLE
}
int32_t TModuleEntry(int32_t a1, int32_t a2, int32_t a3, int32_t a4) {
    // 0x4169798c
    abort();
    // UNREACHABLE
}
@palant
Copy link
Contributor

palant commented Sep 7, 2018

This is a duplicate of #169 I'd say.

PeterMatula added a commit to avast/retdec-regression-tests that referenced this issue Oct 8, 2018
@PeterMatula
Copy link
Collaborator Author

PeterMatula commented Oct 8, 2018

Fixed by merging #391 - see the added regression test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants