C with Assembly

Short one, incase you want to write assembly functions and use these in C, maybe to speed up some things or just circumvent AV’s by not calling hooked functions first you should at least somewhat understand assembly (you can find resources for learning here: ) there are multiple ways you can write assembly in c. Lets start with “Inline Assembly” This is probably the most usefull for smaller things, altho gcc’s inline assembly is very complicated and hard to read (in my opinion), its still somewhat usefull, lets use this example: I just want to get the PEB (Process Environment Block) (on an x64 system) I can just do this:...

August 12, 2023 · 477 words · TerrificTable