Skip to content

Fix asm hooks #25

@DryByte

Description

@DryByte

After a while, i compiled the project again and a lot of stuff started to break because the compiler changed how stuff works.

So first of all, for every hook instead of blindily setting the register using something like mov %0, %%eax, lets use the right way provided by gcc, so it knows what to do later on. The approach im going to use is the register keyword, so we know which register gcc will be using for that variable, instead of passing the variable as a input without any clobber and hopping it to not fuck up the code.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions