Initial Commit

This commit is contained in:
alan 2024-01-29 19:14:30 +00:00
commit bb827f87d0
12 changed files with 304 additions and 0 deletions

8
README.Debian Normal file
View File

@ -0,0 +1,8 @@
udis86 for Debian
Please edit this to provide information specific to
this udis86 Debian package.
(Automatically generated by debmake Version 4.4.0)
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Mon, 29 Jan 2024 09:13:39 +0000

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
udis86 (20221013-1) UNRELEASED; urgency=low
* Initial release. Closes: #nnnn
<nnnn is the bug number of your ITP>
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Mon, 29 Jan 2024 09:13:39 +0000

62
debian/control vendored Normal file
View File

@ -0,0 +1,62 @@
Source: udis86
Section: misc
Priority: optional
Maintainer: Alan M Varghese (NyxTrail) <alan@digistorm.in>
Build-Depends: debhelper-compat (= 13), dh-autoreconf
Standards-Version: 4.6.1
Homepage: https://github.com/canihavesomecoffee/udis86
Rules-Requires-Root: no
#Vcs-Git: https://salsa.debian.org/debian/udis86.git
#Vcs-Browser: https://salsa.debian.org/debian/udis86
Package: libudis86
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: disassembler for x86 and x86-64 class instruction sets
Udis86 is a disassembler for the x86 and x86-64 class of instruction
set architectures. It consists of a C library called libudis86 which
provides a clean and simple interface to decode and inspect a stream
of raw binary data as disassembled instructions in a structured manner,
and a command line tool called udcli that incorporates the library.
.
This package contains the main library.
Package: libudis86-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: disassembler for x86 and x86-64 class instruction sets
Udis86 is a disassembler for the x86 and x86-64 class of instruction
set architectures. It consists of a C library called libudis86 which
provides a clean and simple interface to decode and inspect a stream
of raw binary data as disassembled instructions in a structured manner,
and a command line tool called udcli that incorporates the library.
.
This package contains the development files for the udis86 library.
Package: udcli
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, libudis86
Description: disassembler for x86 and x86-64 class instruction sets
Udis86 is a disassembler for the x86 and x86-64 class of instruction
set architectures. It consists of a C library called libudis86 which
provides a clean and simple interface to decode and inspect a stream
of raw binary data as disassembled instructions in a structured manner,
and a command line tool called udcli that incorporates the library.
.
This package contains the CLI program for udis86 library.
Package: libudis86-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: disassembler for x86 and x86-64 class instruction sets
Udis86 is a disassembler for the x86 and x86-64 class of instruction
set architectures. It consists of a C library called libudis86 which
provides a clean and simple interface to decode and inspect a stream
of raw binary data as disassembled instructions in a structured manner,
and a command line tool called udcli that incorporates the library.
.
This package contains the CLI documentation for udis86 library.

181
debian/copyright vendored Normal file
View File

@ -0,0 +1,181 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: udis86
Upstream-Contact: <preferred name and address to reach the upstream project>
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.
Files: .gitignore
BUILD-WINDOWS
BuildVS2010/README.txt
BuildVS2010/build.proj
BuildVS2010/buildVS2010.bat
BuildVS2010/libudis86.vcxproj
BuildVS2010/libudis86.vcxproj.filters
BuildVS2010/udcli.vcxproj
BuildVS2010/udcli.vcxproj.filters
BuildVS2010/udis86.sln
CHANGES
CMakeLists.txt
Makefile.am
README.md
autogen.sh
configure.ac
docs/Makefile.am
docs/manual/Makefile.am
docs/manual/conf.py
docs/manual/getstarted.rst
docs/manual/index.rst
docs/manual/libudis86.rst
docs/manual/static/udis86.css
docs/x86/Makefile.am
docs/x86/README
docs/x86/avx.xml
libudis86/CMakeLists.txt
libudis86/Makefile.am
scripts/Makefile.am
scripts/asmtest.sh
tests/Makefile.am
tests/asm/16/disp.asm
tests/asm/16/test16.asm
tests/asm/32/att.asm
tests/asm/32/att.asm.Sref
tests/asm/32/att.asm.ref
tests/asm/32/avx.asm
tests/asm/32/avx.asm.Sref
tests/asm/32/avx.asm.ref
tests/asm/32/corner.asm
tests/asm/32/corner.asm.ref
tests/asm/32/disp.asm
tests/asm/32/disp.asm.Sref
tests/asm/32/invalid_seg.asm
tests/asm/32/invalid_seg.asm.ref
tests/asm/32/obscure.asm
tests/asm/32/obscure.asm.ref
tests/asm/32/reljmp.asm
tests/asm/32/reljmp.asm.ref
tests/asm/32/sext.asm
tests/asm/32/sext.asm.ref
tests/asm/32/test32.asm
tests/asm/64/amd/invalid.asm
tests/asm/64/amd/invalid.asm.ref
tests/asm/64/avx.asm
tests/asm/64/avx.asm.ref
tests/asm/64/branch.asm
tests/asm/64/branch.asm.ref
tests/asm/64/disp.asm
tests/asm/64/disp.asm.Sref
tests/asm/64/disp.asm.ref
tests/asm/64/intel/invalid.asm
tests/asm/64/intel/invalid.asm.ref
tests/asm/64/reljmp.asm
tests/asm/64/reljmp.asm.ref
tests/asm/64/sext.asm
tests/asm/64/sext.asm.ref
tests/asm/64/test64.asm
tests/installcheck.c
tests/symresolve.c
tests/symresolve.ref
udcli/CMakeLists.txt
udcli/Makefile.am
udis86.pc.in
xcode/udcli/sample_input
xcode/udcli/udcli.xcodeproj/project.pbxproj
xcode/udis.xcodeproj/project.pbxproj
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__
Files: libudis86/decode.c
libudis86/decode.h
libudis86/extern.h
libudis86/syn-att.c
libudis86/syn-intel.c
libudis86/syn.c
libudis86/syn.h
libudis86/types.h
libudis86/udint.h
libudis86/udis86.c
scripts/ud_itab.py
scripts/ud_opcode.py
tests/difftest.sh.in
tests/libcheck.c
tests/oprgen.py
udcli/udcli.c
udis86.h
Copyright: 2002 -2009
2002-2013 Vivek Thampi
License: BSD-2-Clause
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: m4/ax_compare_version.m4
m4/ax_prog_sphinx_version.m4
m4/ax_prog_yasm_version.m4
m4/ax_with_prog.m4
m4/ax_with_python.m4
Copyright: 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
2008 Tim Toolan <toolan@ele.uri.edu>
2008-2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
License: __AUTO_PERMISSIVE__
Autogenerated files with permissive licenses.
Files: INSTALL
Copyright: 1994-2006 Free Software Foundation, Inc.
License: __UNKNOWN__
This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
.
Basic Installation
#----------------------------------------------------------------------------
# xml and html files (skipped):
# docs/x86/optable.xml
# docs/x86/optable.xsl
# xcode/udis.xcworkspace/contents.xcworkspacedata
# xcode/udis.xcworkspace/xcshareddata/udis.xccheckout
#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.
#----------------------------------------------------------------------------
# License file: LICENSE
Copyright (c) 2002-2012, Vivek Thampi <vivek.mt@gmail.com>
All rights reserved.
.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

7
debian/files vendored Normal file
View File

@ -0,0 +1,7 @@
libudis86-dbgsym_20221013-1_amd64.deb debug optional automatic=yes
libudis86-dev_20221013-1_amd64.deb libdevel optional
libudis86-doc_20221013-1_all.deb doc optional
libudis86_20221013-1_amd64.deb libs optional
udcli-dbgsym_20221013-1_amd64.deb debug optional automatic=yes
udcli_20221013-1_amd64.deb misc optional
udis86_20221013-1_amd64.buildinfo misc optional

4
debian/libudis86-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include
usr/lib/*/libudis86.la
usr/lib/*/libudis86.so
usr/lib/*/pkgconfig/udis86.pc

1
debian/libudis86-doc.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc

16
debian/rules vendored Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
%:
dh $@ --with autoreconf
override_dh_autoreconf:
dh_autoreconf -- ./autogen.sh
override_dh_auto_configure:
dh_auto_configure -- --with-python=/usr/bin/python3
#override_dh_install:
# dh_install --list-missing -X.la -X.pyc -X.pyo

1
debian/udcli.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/udcli

16
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,16 @@
#
# DEP-12: Per-package machine-readable metadata about Upstream
# Please check * https://dep-team.pages.debian.net/deps/dep12/
# * https://wiki.debian.org/UpstreamMetadata
Reference:
Author: <please use full names and separate multiple author by the keyword "and">
Title:
Journal:
Year:
Volume:
Number:
Pages:
DOI:
PMID:
URL:
eprint:

1
debian/watch vendored Normal file
View File

@ -0,0 +1 @@
version=3

1
libudis86.install Normal file
View File

@ -0,0 +1 @@
usr/lib/*/libudis86.so.*