Home GnuPG

hwf-x86: make stack unwinding work at i386 cpuid functions

Description

hwf-x86: make stack unwinding work at i386 cpuid functions

* src/hwf-x86.c (FORCE_FUNC_FRAME_POINTER): New.
[__i386__] (is_cpuid_available): Force use of stack frame pointer as
inline assembly modifies stack register; Add 'memory' constraint for
inline assembly.
[__i386__] (get_cpuid): Avoid push/pop instruction when preserving
%ebx register over cpuid.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Apr 17 2019, 11:20 PM
Parents
rC3546599e5578: Limit and document Blowfish key lengths to 8-576 bits
Branches
Unknown
Tags
Unknown