The package rpms/gdb-exploitable.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=84....
Change:
+ExclusiveArch: x86_64 i686
Thanks.
Full change:
============
commit 8450e30c557285dd2db3bee254906fc56d7f5736
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:35:05 2017 -0400
Initial build
diff --git a/.gitignore b/.gitignore
index e69de29..28d5c4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/exploitable.tar.gz
diff --git a/README.fedora b/README.fedora
new file mode 100644
index 0000000..62cc23c
--- /dev/null
+++ b/README.fedora
@@ -0,0 +1,13 @@
+When you install this package, it will automatically register itself with
+gdb. You do not need to add anything to your ~/.gdbinit file.
+
+To use this extension, run your program. If it segfaults/crashes, then
+type 'exploitable' at the gdb command prompt. It should then print text
+to the gdb terminal explaining its conclusion. Note that it might misclassify
+a fault that really is exploitable. So, use this as an informed opinion and
+not absolute truth. If it says something is exploitable, head this warning
+just in case.
+
+This extension may also be used on coredump files. To use it this way,
+load the coredump file as normal. Then type 'exploitable' to get the
+analysis.
diff --git a/gdb-exploitable.gdb b/gdb-exploitable.gdb
new file mode 100644
index 0000000..c01241f
--- /dev/null
+++ b/gdb-exploitable.gdb
@@ -0,0 +1 @@
+source /usr/share/gdb/python/exploitable/exploitable.py
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
new file mode 100644
index 0000000..e3514c4
--- /dev/null
+++ b/gdb-exploitable.spec
@@ -0,0 +1,63 @@
+%global plugin exploitable
+%global snapshot 20170717git35b742d
+%global gdb_data /usr/share/gdb/python/%{plugin}
+%global gdb_init /etc/gdbinit.d
+
+# The tarball is created like this:
+# git clone
https://github.com/jfoote/exploitable.git
+# tar --exclude=.* -cvf exploitable.tar exploitable/*
+# gzip --best exploitable.tar
+# Then the snapshot global is updated to meet fedora guidelines
+
+Name: gdb-%{plugin}
+Version: 1.32
+Release: 1.%{snapshot}%{?dist}
+Summary: GDB extension for exploitability
+License: MIT
+Group: Development/Libraries
+URL:
https://github.com/jfoote/exploitable
+Source0: %{plugin}.tar.gz
+Source1: %{name}.gdb
+Source2: README.fedora
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExclusiveArch: x86_64 i686
+BuildArch: noarch
+Requires: gdb
+
+%description
+'exploitable' is a GDB extension that classifies Linux application bugs
+by severity. The extension inspects the state of a Linux application that
+has crashed and outputs a summary of how difficult it might be for an
+attacker to exploit the underlying software bug to gain control of the
+system. The extension can be used to prioritize bugs for software developers
+so that they can address the most severe ones first.
+
+%prep
+%setup -q -n %{plugin}
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gdb_data}
+cp -ra exploitable/* %{buildroot}%{gdb_data}
+rm -rf %{buildroot}%{gdb_data}/tests
+mkdir -p %{buildroot}%{gdb_init}
+cp %{SOURCE1} %{buildroot}%{gdb_init}
+cp %{SOURCE2} .
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.md AUTHORS.txt README.fedora
+%license LICENSE.md
+%dir %{gdb_data}
+%{gdb_data}/*
+%config(noreplace) %{gdb_init}/*
+
+%changelog
+* Thu Jul 20 2017 Steve Grubb <sgrubb(a)redhat.com> 1.32-1.20170717git35b742d
+- Initial build
+
diff --git a/sources b/sources
index e69de29..e45bee1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (exploitable.tar.gz) =
b1d36072d8c4ad2e5e14b8cf106596826fc1ab22922b28cb473058499d509a0c59718746dd8a1a94014182306e5651f47ed190e7593a9f7e83d9d4fd6fa2fbae