[RFC ABRT PATCH v2] Add gdb python plugin which analyzes vulnerability

Jan Kratochvil jan.kratochvil at redhat.com
Thu Jun 13 16:42:37 UTC 2013


On Thu, 13 Jun 2013 17:08:44 +0200, Nikola Pajkovsky wrote:
> CC'ing Jan

I cannot agree with this approach, doing static analysis from the binary is
too late, this is why RH David Malcolm is developing an interface into GCC:
	https://fedorahosted.org/gcc-python-plugin/

It may be better to ask him personally more about the plugin, I do not know it.


> >> +        # HACK_ALERT: kernels before 3.?.? do not record siginfo in coredumps,
> >> +        # so $_siginfo isn't present.
> > By the way, do you have any reference for this? The prstatus structure
> > which contains a signal number seems to be present in coredumps at least
> > on 2.6.32. Or am I misunderstanding the problem?

GDB cannot decode it now just from prstatus, assigned to Sergio:
	Add $_signo convenience variable
	https://bugzilla.redhat.com/show_bug.cgi?id=971849


Regards,
Jan


More information about the Crash-catcher mailing list