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

Debug Information Doesn't Always Work #10

Open
zaydlang opened this issue Feb 27, 2022 · 0 comments
Open

Debug Information Doesn't Always Work #10

zaydlang opened this issue Feb 27, 2022 · 0 comments

Comments

@zaydlang
Copy link

Hey! I've been trying to use this program for a project of mine, but I seem to be encountering incorrect debug information when parsing most ELF files on my computer. Some ELF files give proper debug output; some crash with an ArraySliceError at line 82 of debugline/package.d. Some just produce nonsensical output. I haven't quite worked out the common thread between the files that cause crashes yet. Here's an example C program whose elf file crashes elf-d:

int test() {
	return 3;
}

int main() {
	return test();
}

I know this project hasn't been worked on in quite some time, so it's fine if you don't know the fix / don't have the time to fix this. I'm going to be looking into this myself anyway, and if I find the issue, I can make a PR (assuming those are fine). Though, if you have any ideas, I'd love to hear them.

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

No branches or pull requests

1 participant