slimm609 / checksec

Checksec
https://slimm609.github.io/checksec
Other
2.04k stars 306 forks source link

The method of checking whether so file used PIC is wrong. #174

Closed freeBoyfeny closed 5 months ago

freeBoyfeny commented 3 years ago

The method of checking whether it is PIC is wrong. You can use the following methods

readelf -d lib*.so |grep TEXTREL

If the output is null, the so file must has used the -fPIC option.

slimm609 commented 3 years ago

Can you provide more context here? Which check specifically?

slimm609 commented 5 months ago

Closing due to lack of followup