-
Notifications
You must be signed in to change notification settings - Fork 378
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
Segmentation fault at fixup_reloc #115
Comments
Can you share you DLL? It would make it easier to debug.
…On Mon, 17 Oct 2022, 21:22 tiagoporsch, ***@***.***> wrote:
Hello, I'm trying to load a very simple DLL that just contains some string
manipulation functions, however when I attempt to run my program it
segfaults with
pelinker (fixup_reloc:390): fixup_block=0xf7f4c000, image=0xf7f48000
pelinker (fixup_reloc:391): fixup_block info: 1000 84
Segmentation fault
This is the all the code that runs before the segmentation fault:
struct pe_image image = {
.entry = NULL,
.name = "engine/SeedNKeyXcp.dll",
};
if (!pe_load_library(image.name, &image.image, &image.size))
return 1;
link_pe_images(&image, 1);
How could I go about debugging this?
Thank you.
—
Reply to this email directly, view it on GitHub
<#115>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGW4SP3RQ74AK6VXSWC3ATWDWKOPANCNFSM6AAAAAARHKPHOQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Of course. Here it is. |
I've fixed this issue by opening the DLL as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm trying to load a very simple DLL that just contains some string manipulation functions, however when I attempt to run my program it segfaults with
This is the all the code that runs before the segmentation fault:
How could I go about debugging this?
Thank you.
The text was updated successfully, but these errors were encountered: