Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   627

how do you link kernel32 and cruntime libs statically in C++?

by s0cialw4ste - 12 February, 2022 - 05:00 PM
This post is by a banned member (s0cialw4ste) - Unhide
15
Posts
6
Threads
3 Years of service
#1
(This post was last modified: 12 February, 2022 - 05:05 PM by s0cialw4ste. Edited 1 time in total.)
I want to link all libraries in a project statically and I don't want my PE to have IDT and IAT tables. I want to be able to copy the .text section and add it in another EXE and it should work.

I know that it requires some resolving and it's a bit complicated but If you have some resources or if you could explain something even theoretical, I would appreciate it.
This post is by a banned member (Blepop) - Unhide
Blepop  
Galactic
4.043
Posts
2.152
Threads
6 Years of service
#2
(12 February, 2022 - 05:00 PM)s0cialw4ste Wrote: Show More
I want to link all libraries in a project statically and I don't want my PE to have IDT and IAT tables. I want to be able to copy the .text section and add it in another EXE and it should work.

I know that it requires some resolving and it's a bit complicated but If you have some resources or if you could explain something even theoretical, I would appreciate it.

good question
i never learned C#
i am dumb
 
 
This post is by a banned member (s0cialw4ste) - Unhide
15
Posts
6
Threads
3 Years of service
#3
(12 February, 2022 - 05:01 PM)Blepop Wrote: Show More
(12 February, 2022 - 05:00 PM)s0cialw4ste Wrote: Show More
I want to link all libraries in a project statically and I don't want my PE to have IDT and IAT tables. I want to be able to copy the .text section and add it in another EXE and it should work.

I know that it requires some resolving and it's a bit complicated but If you have some resources or if you could explain something even theoretical, I would appreciate it.

good question
i never learned C#
i am dumb

I don't need to be smart to learn c#. I've just updated the title I want this in c++, thank you for mentioning the language.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)