[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 65 KB, 544x437, told.jpg [View same] [iqdb] [saucenao] [google]
2220620 No.2220620 [Reply] [Original]

I want tutorials that will explain how windows manages memory and how an .exe file is loaded into memory

I am familiar with x86 syntax but I amn't familiar with terms like "allocation" and "deallocation" and why most programs on win xp start at address 0x000040

Any help would be appreciated /sci/

>> No.2220633

>I amn't familiar with terms like "allocation" and "deallocation"
You could learn C - you can do your own memory management there.

But if you're only interested in how the Windows environment works... not sure where to start. Bump for interest.

>> No.2220636

So go read some relevant source code and find out.

>> No.2220639

Solomon & Russinovich have a pretty good chapter on this.

>> No.2220644

>>2220620
You don't know what allocation of memory is yet you want to know how memory management is handled inside the kernel...

What the fuck ?

>> No.2220648

Not familiar with XP. but the first few addresses are almost always reserved for ISR jump tables.

>>2220633
Implying any memory management commands you write in C aren't just requests for the OS to handle some shit.

>> No.2220669

>>2220644
Because my whole experience with asm is with cheat engine and Ollydbg
I usually pay attention to the "set" of commands that are (for instance) handle the address containing my health and NOP it or assemble it to increase my health instead

>>2220633
I have a little C# knowledge and learning some C++ atm
Learning C is essential?

>> No.2220673
File: 56 KB, 351x336, 1287923226034.gif [View same] [iqdb] [saucenao] [google]
2220673

> I amn't familiar with terms like "allocation"
> I amn't familiar
> amn't

>> No.2220684

>>2220669
I was mainly referring to malloc() and free(). There's still "new" in C++, I guess.

>> No.2220689

Assembly Step by Step. It's nice.

>> No.2220783

>>2220673
What's wrong with I amn't?