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

Unknown sections in libraries #121

Closed
po0p opened this issue Jan 23, 2025 · 1 comment
Closed

Unknown sections in libraries #121

po0p opened this issue Jan 23, 2025 · 1 comment

Comments

@po0p
Copy link

po0p commented Jan 23, 2025

Hi, pardon for a noob question, I feel it is better to ask it here since community is smaller;
So, "classic" dll files compiled with msvc normally have 5 sections (both when compiled with /MT and /MD):

.text - code
.rdata - readonly data
.data - data
.pdata - exception records
.reloc - relocs

However, when compiling with llvm (clang supplied with visual studion and llvm-msvc), i tend to see different number of sections, specifically when compiling with /MT
Example section names that i saw /remember seeing:

_RDATA
.gxfg
.00cfg
.retplne << this one is the most odd

If you can, kindly explain what are those, what their purpose is, and if i can influence their presence somehow.

@gmh5225
Copy link
Collaborator

gmh5225 commented Jan 24, 2025

https://chatgpt.com/share/67932136-906c-8002-b421-909d7b786866

@gmh5225 gmh5225 closed this as completed Jan 24, 2025
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

2 participants