slimm609/checksec

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

Closed this issue · 2 comments

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.

Can you provide more context here? Which check specifically?

Closing due to lack of followup