ambr0siaa / LunaVM

Register based virtual machine
MIT License
2 stars 0 forks source link

CCFLAGS #17

Closed StepanTheFlowey closed 1 month ago

StepanTheFlowey commented 3 months ago

https://github.com/ambr0siaa/LunaVM/blob/850ce755c86638f24e8979e8c5e4bb4cbf015980/bilSetup.sh#L8

use -fno-pic -fno-pie -no-pie gcc flags when compilling executables to reduce their size and improve performance and also to create vulnerability...

https://en.wikipedia.org/wiki/Position-independent_code

ambr0siaa commented 3 months ago

ok, thank you