From a29f349c26a21e46314636947074a3f8d462e47d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Tue, 27 Nov 2018 17:48:13 +0100 Subject: [PATCH] Initial commit --- .gitignore | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ .gitmodules | 3 +++ LICENSE | 8 ++++++++ README.md | 5 +++++ libdwarfw | 1 + 5 files changed, 73 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 LICENSE create mode 100644 README.md create mode 160000 libdwarfw diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..15b1ed2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,56 @@ +# ---> OCaml +*.annot +*.cmo +*.cma +*.cmi +*.a +*.o +*.cmx +*.cmxs +*.cmxa + +# ocamlbuild working directory +_build/ + +# ocamlbuild targets +*.byte +*.native + +# oasis generated files +setup.data +setup.log + +# ---> C +# Object files +*.o +*.ko +*.obj +*.elf + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + +# Debug files +*.dSYM/ + diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..63a62d9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libdwarfw"] + path = libdwarfw + url = https://github.com/emersion/libdwarfw diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..472ac23 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +MIT License +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..14326a4 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# ODwarfw + +An OCaml binding of [libdwarfw](https://github.com/emersion/libdwarfw), a +library built to write DWARF debug data into ELF files (and more precisely +`.eh_frame`). diff --git a/libdwarfw b/libdwarfw new file mode 160000 index 0000000..322e118 --- /dev/null +++ b/libdwarfw @@ -0,0 +1 @@ +Subproject commit 322e118261f38d71f35c24a159ff2b3f61cfa21d