[arch-projects] [PATCH][namcap] use pure python for exec stack check
remyoudompheng at gmail.com
Sun Feb 26 09:15:58 EST 2012
Le 4 février 2012 20:57, Dave Reisner <d at falconindy.com> a écrit :
> Instead of pulling prelink as a dependency, use a pure python library,
> pyelftools, for reading the program headers. This could be useful
> elsewhere to replace parsing of things such as readelf.
> This relies on a pure python ELF parsing lib I found, pyelftools, to do
> the job of prelink's execstack. I sort of pieced this together from
> example code in pyelftools, so I'm not sure it's all that wonderful, but
> imo it's better than relying on prelink it does seem to get the job done.
I've applied and added a test case, thanks.
More information about the arch-projects