Commit 02c4a8a7 authored by Hilko Bengen's avatar Hilko Bengen

New upstream version 20170121

parent 76e0f2d2
Acknowledgements: libesedb
Copyright (C) 2009-2016, Joachim Metz <joachim.metz@gmail.com>
Copyright (C) 2009-2017, Joachim Metz <joachim.metz@gmail.com>
......@@ -157,6 +157,9 @@ Notes
* read catalog data type defintions and convert them into column definitions?
- no
20160902
* worked on tests
20160110
* worked on Python 3 support
......
......@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
libcstring \
libcerror \
libcthreads \
libcdata \
......@@ -23,7 +22,6 @@ SUBDIRS = \
libesedb \
libfmapi \
libmapidb \
libcsystem \
esedbtools \
pyesedb \
pyesedb-python2 \
......@@ -85,7 +83,6 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
......@@ -118,7 +115,6 @@ distclean: clean
done && test -z "$$fail"
splint:
(cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
......@@ -138,7 +134,6 @@ splint:
(cd $(srcdir)/libesedb && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libfmapi && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libmapidb && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcsystem && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/esedbtools && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/pyesedb && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
......
......@@ -98,7 +98,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/common.m4 \
$(top_srcdir)/m4/libcerror.m4 $(top_srcdir)/m4/libcfile.m4 \
$(top_srcdir)/m4/libclocale.m4 $(top_srcdir)/m4/libcnotify.m4 \
$(top_srcdir)/m4/libcpath.m4 $(top_srcdir)/m4/libcsplit.m4 \
$(top_srcdir)/m4/libcstring.m4 $(top_srcdir)/m4/libcsystem.m4 \
$(top_srcdir)/m4/libcthreads.m4 $(top_srcdir)/m4/libfcache.m4 \
$(top_srcdir)/m4/libfdata.m4 $(top_srcdir)/m4/libfdatetime.m4 \
$(top_srcdir)/m4/libfguid.m4 $(top_srcdir)/m4/libfmapi.m4 \
......@@ -109,8 +108,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/common.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
$(top_srcdir)/m4/pthread.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/m4/types.m4 $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/configure.ac
$(top_srcdir)/m4/tests.m4 $(top_srcdir)/m4/types.m4 \
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
......@@ -215,7 +214,7 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/libesedb.pc.in \
$(top_srcdir)/include/libesedb/features.h.in \
$(top_srcdir)/include/libesedb/types.h.in ABOUT-NLS AUTHORS \
COPYING ChangeLog INSTALL NEWS README compile config.guess \
config.rpath config.sub depcomp install-sh ltmain.sh missing
config.rpath config.sub install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
......@@ -299,8 +298,6 @@ HAVE_LIBCLOCALE = @HAVE_LIBCLOCALE@
HAVE_LIBCNOTIFY = @HAVE_LIBCNOTIFY@
HAVE_LIBCPATH = @HAVE_LIBCPATH@
HAVE_LIBCSPLIT = @HAVE_LIBCSPLIT@
HAVE_LIBCSTRING = @HAVE_LIBCSTRING@
HAVE_LIBCSYSTEM = @HAVE_LIBCSYSTEM@
HAVE_LIBCTHREADS = @HAVE_LIBCTHREADS@
HAVE_LIBFCACHE = @HAVE_LIBFCACHE@
HAVE_LIBFDATA = @HAVE_LIBFDATA@
......@@ -319,8 +316,6 @@ HAVE_LOCAL_LIBCLOCALE = @HAVE_LOCAL_LIBCLOCALE@
HAVE_LOCAL_LIBCNOTIFY = @HAVE_LOCAL_LIBCNOTIFY@
HAVE_LOCAL_LIBCPATH = @HAVE_LOCAL_LIBCPATH@
HAVE_LOCAL_LIBCSPLIT = @HAVE_LOCAL_LIBCSPLIT@
HAVE_LOCAL_LIBCSTRING = @HAVE_LOCAL_LIBCSTRING@
HAVE_LOCAL_LIBCSYSTEM = @HAVE_LOCAL_LIBCSYSTEM@
HAVE_LOCAL_LIBCTHREADS = @HAVE_LOCAL_LIBCTHREADS@
HAVE_LOCAL_LIBFCACHE = @HAVE_LOCAL_LIBFCACHE@
HAVE_LOCAL_LIBFDATA = @HAVE_LOCAL_LIBFDATA@
......@@ -367,10 +362,6 @@ LIBCPATH_CPPFLAGS = @LIBCPATH_CPPFLAGS@
LIBCPATH_LIBADD = @LIBCPATH_LIBADD@
LIBCSPLIT_CPPFLAGS = @LIBCSPLIT_CPPFLAGS@
LIBCSPLIT_LIBADD = @LIBCSPLIT_LIBADD@
LIBCSTRING_CPPFLAGS = @LIBCSTRING_CPPFLAGS@
LIBCSTRING_LIBADD = @LIBCSTRING_LIBADD@
LIBCSYSTEM_CPPFLAGS = @LIBCSYSTEM_CPPFLAGS@
LIBCSYSTEM_LIBADD = @LIBCSYSTEM_LIBADD@
LIBCTHREADS_CPPFLAGS = @LIBCTHREADS_CPPFLAGS@
LIBCTHREADS_LIBADD = @LIBCTHREADS_LIBADD@
LIBESEDB_DLL_IMPORT = @LIBESEDB_DLL_IMPORT@
......@@ -403,6 +394,7 @@ LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......@@ -509,12 +501,6 @@ ax_libcpath_spec_requires = @ax_libcpath_spec_requires@
ax_libcsplit_pc_libs_private = @ax_libcsplit_pc_libs_private@
ax_libcsplit_spec_build_requires = @ax_libcsplit_spec_build_requires@
ax_libcsplit_spec_requires = @ax_libcsplit_spec_requires@
ax_libcstring_pc_libs_private = @ax_libcstring_pc_libs_private@
ax_libcstring_spec_build_requires = @ax_libcstring_spec_build_requires@
ax_libcstring_spec_requires = @ax_libcstring_spec_requires@
ax_libcsystem_pc_libs_private = @ax_libcsystem_pc_libs_private@
ax_libcsystem_spec_build_requires = @ax_libcsystem_spec_build_requires@
ax_libcsystem_spec_requires = @ax_libcsystem_spec_requires@
ax_libcthreads_pc_libs_private = @ax_libcthreads_pc_libs_private@
ax_libcthreads_spec_build_requires = @ax_libcthreads_spec_build_requires@
ax_libcthreads_spec_requires = @ax_libcthreads_spec_requires@
......@@ -583,10 +569,6 @@ libcpath_CFLAGS = @libcpath_CFLAGS@
libcpath_LIBS = @libcpath_LIBS@
libcsplit_CFLAGS = @libcsplit_CFLAGS@
libcsplit_LIBS = @libcsplit_LIBS@
libcstring_CFLAGS = @libcstring_CFLAGS@
libcstring_LIBS = @libcstring_LIBS@
libcsystem_CFLAGS = @libcsystem_CFLAGS@
libcsystem_LIBS = @libcsystem_LIBS@
libcthreads_CFLAGS = @libcthreads_CFLAGS@
libcthreads_LIBS = @libcthreads_LIBS@
libdir = @libdir@
......@@ -639,7 +621,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
libcstring \
libcerror \
libcthreads \
libcdata \
......@@ -659,7 +640,6 @@ SUBDIRS = \
libesedb \
libfmapi \
libmapidb \
libcsystem \
esedbtools \
pyesedb \
pyesedb-python2 \
......@@ -1223,7 +1203,6 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
......@@ -1256,7 +1235,6 @@ distclean: clean
done && test -z "$$fail"
splint:
(cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
......@@ -1276,7 +1254,6 @@ splint:
(cd $(srcdir)/libesedb && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libfmapi && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libmapidb && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/libcsystem && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/esedbtools && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/pyesedb && $(MAKE) splint $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
......
......@@ -17,7 +17,7 @@ Planned:
Also see:
* Forensic analysis of the Windows Search database: https://googledrive.com/host/0B3fBvzttpiiSN082cmxsbHB0anc/Forensic%20analysis%20of%20the%20Windows%20Search%20database.pdf
* Forensic analysis of the Windows Search database: https://github.com/libyal/documentation/blob/master/Forensic%20analysis%20of%20the%20Windows%20Search%20database.pdf
* Extensible Storage Engine (ESE) Database File Knowledge Base: https://github.com/libyal/esedb-kb
For more information see:
......
dnl Function to detect if libesedb dependencies are available
AC_DEFUN([AX_LIBESEDB_CHECK_LOCAL],
[dnl Check for internationalization functions in libesedb/libesedb_i18n.c
AC_CHECK_FUNCS([bindtextdomain])
])
[dnl Check for internationalization functions in libesedb/libesedb_i18n.c
AC_CHECK_FUNCS([bindtextdomain])
dnl Check if library should be build with verbose output
AX_COMMON_CHECK_ENABLE_VERBOSE_OUTPUT
dnl Check if library should be build with debug output
AX_COMMON_CHECK_ENABLE_DEBUG_OUTPUT
dnl Check if DLL support is needed
AS_IF(
[test "x$enable_shared" = xyes],
[AS_CASE(
[$host],
[*cygwin* | *mingw*],
[AC_DEFINE(
[HAVE_DLLMAIN],
[1],
[Define to 1 to enable the DllMain function.])
AC_SUBST(
[HAVE_DLLMAIN],
[1])
])
])
])
dnl Function to detect if esedbtools dependencies are available
AC_DEFUN([AX_ESEDBTOOLS_CHECK_LOCAL],
[AC_CHECK_HEADERS([signal.h sys/signal.h unistd.h])
AC_CHECK_FUNCS([close getopt setvbuf])
AS_IF(
[test "x$ac_cv_func_close" != xyes],
[AC_MSG_FAILURE(
[Missing function: close],
[1])
])
dnl Check if tools should be build as static executables
AX_COMMON_CHECK_ENABLE_STATIC_EXECUTABLES
dnl Check if DLL support is needed
AS_IF(
[test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno],
[AS_CASE(
[$host],
[*cygwin* | *mingw*],
[AC_SUBST(
[LIBESEDB_DLL_IMPORT],
["-DLIBESEDB_DLL_IMPORT"])
])
])
])
This diff is collapsed.
......@@ -9,8 +9,11 @@ EXTRA_DIST = \
config_winapi.h \
file_stream.h \
memory.h \
narrow_string.h \
system_string.h \
types.h \
types.h.in
types.h.in \
wide_string.h
MAINTAINERCLEANFILES = \
Makefile.in
......
......@@ -97,7 +97,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/common.m4 \
$(top_srcdir)/m4/libcerror.m4 $(top_srcdir)/m4/libcfile.m4 \
$(top_srcdir)/m4/libclocale.m4 $(top_srcdir)/m4/libcnotify.m4 \
$(top_srcdir)/m4/libcpath.m4 $(top_srcdir)/m4/libcsplit.m4 \
$(top_srcdir)/m4/libcstring.m4 $(top_srcdir)/m4/libcsystem.m4 \
$(top_srcdir)/m4/libcthreads.m4 $(top_srcdir)/m4/libfcache.m4 \
$(top_srcdir)/m4/libfdata.m4 $(top_srcdir)/m4/libfdatetime.m4 \
$(top_srcdir)/m4/libfguid.m4 $(top_srcdir)/m4/libfmapi.m4 \
......@@ -108,8 +107,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/common.m4 \
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
$(top_srcdir)/m4/pthread.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/m4/types.m4 $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/configure.ac
$(top_srcdir)/m4/tests.m4 $(top_srcdir)/m4/types.m4 \
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
......@@ -200,8 +199,6 @@ HAVE_LIBCLOCALE = @HAVE_LIBCLOCALE@
HAVE_LIBCNOTIFY = @HAVE_LIBCNOTIFY@
HAVE_LIBCPATH = @HAVE_LIBCPATH@
HAVE_LIBCSPLIT = @HAVE_LIBCSPLIT@
HAVE_LIBCSTRING = @HAVE_LIBCSTRING@
HAVE_LIBCSYSTEM = @HAVE_LIBCSYSTEM@
HAVE_LIBCTHREADS = @HAVE_LIBCTHREADS@
HAVE_LIBFCACHE = @HAVE_LIBFCACHE@
HAVE_LIBFDATA = @HAVE_LIBFDATA@
......@@ -220,8 +217,6 @@ HAVE_LOCAL_LIBCLOCALE = @HAVE_LOCAL_LIBCLOCALE@
HAVE_LOCAL_LIBCNOTIFY = @HAVE_LOCAL_LIBCNOTIFY@
HAVE_LOCAL_LIBCPATH = @HAVE_LOCAL_LIBCPATH@
HAVE_LOCAL_LIBCSPLIT = @HAVE_LOCAL_LIBCSPLIT@
HAVE_LOCAL_LIBCSTRING = @HAVE_LOCAL_LIBCSTRING@
HAVE_LOCAL_LIBCSYSTEM = @HAVE_LOCAL_LIBCSYSTEM@
HAVE_LOCAL_LIBCTHREADS = @HAVE_LOCAL_LIBCTHREADS@
HAVE_LOCAL_LIBFCACHE = @HAVE_LOCAL_LIBFCACHE@
HAVE_LOCAL_LIBFDATA = @HAVE_LOCAL_LIBFDATA@
......@@ -268,10 +263,6 @@ LIBCPATH_CPPFLAGS = @LIBCPATH_CPPFLAGS@
LIBCPATH_LIBADD = @LIBCPATH_LIBADD@
LIBCSPLIT_CPPFLAGS = @LIBCSPLIT_CPPFLAGS@
LIBCSPLIT_LIBADD = @LIBCSPLIT_LIBADD@
LIBCSTRING_CPPFLAGS = @LIBCSTRING_CPPFLAGS@
LIBCSTRING_LIBADD = @LIBCSTRING_LIBADD@
LIBCSYSTEM_CPPFLAGS = @LIBCSYSTEM_CPPFLAGS@
LIBCSYSTEM_LIBADD = @LIBCSYSTEM_LIBADD@
LIBCTHREADS_CPPFLAGS = @LIBCTHREADS_CPPFLAGS@
LIBCTHREADS_LIBADD = @LIBCTHREADS_LIBADD@
LIBESEDB_DLL_IMPORT = @LIBESEDB_DLL_IMPORT@
......@@ -304,6 +295,7 @@ LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......@@ -410,12 +402,6 @@ ax_libcpath_spec_requires = @ax_libcpath_spec_requires@
ax_libcsplit_pc_libs_private = @ax_libcsplit_pc_libs_private@
ax_libcsplit_spec_build_requires = @ax_libcsplit_spec_build_requires@
ax_libcsplit_spec_requires = @ax_libcsplit_spec_requires@
ax_libcstring_pc_libs_private = @ax_libcstring_pc_libs_private@
ax_libcstring_spec_build_requires = @ax_libcstring_spec_build_requires@
ax_libcstring_spec_requires = @ax_libcstring_spec_requires@
ax_libcsystem_pc_libs_private = @ax_libcsystem_pc_libs_private@
ax_libcsystem_spec_build_requires = @ax_libcsystem_spec_build_requires@
ax_libcsystem_spec_requires = @ax_libcsystem_spec_requires@
ax_libcthreads_pc_libs_private = @ax_libcthreads_pc_libs_private@
ax_libcthreads_spec_build_requires = @ax_libcthreads_spec_build_requires@
ax_libcthreads_spec_requires = @ax_libcthreads_spec_requires@
......@@ -484,10 +470,6 @@ libcpath_CFLAGS = @libcpath_CFLAGS@
libcpath_LIBS = @libcpath_LIBS@
libcsplit_CFLAGS = @libcsplit_CFLAGS@
libcsplit_LIBS = @libcsplit_LIBS@
libcstring_CFLAGS = @libcstring_CFLAGS@
libcstring_LIBS = @libcstring_LIBS@
libcsystem_CFLAGS = @libcsystem_CFLAGS@
libcsystem_LIBS = @libcsystem_LIBS@
libcthreads_CFLAGS = @libcthreads_CFLAGS@
libcthreads_LIBS = @libcthreads_LIBS@
libdir = @libdir@
......@@ -546,8 +528,11 @@ EXTRA_DIST = \
config_winapi.h \
file_stream.h \
memory.h \
narrow_string.h \
system_string.h \
types.h \
types.h.in
types.h.in \
wide_string.h
MAINTAINERCLEANFILES = \
Makefile.in
......
/*
* Byte stream functions
*
* Copyright (C) 2009-2016, Joachim Metz <joachim.metz@gmail.com>
* Copyright (C) 2009-2017, Joachim Metz <joachim.metz@gmail.com>
*
* Refer to AUTHORS for acknowledgements.
*
......
/*
* Common include file
*