head 1.1; branch 1.1.1; access; symbols FILE5_48:1.1.1.3 netbsd-11-0-RC4:1.1.1.3 netbsd-11-0-RC3:1.1.1.3 netbsd-11-0-RC2:1.1.1.3 netbsd-11-0-RC1:1.1.1.3 perseant-exfatfs-base-20250801:1.1.1.3 netbsd-11:1.1.1.3.0.14 netbsd-11-base:1.1.1.3 netbsd-10-1-RELEASE:1.1.1.3 perseant-exfatfs-base-20240630:1.1.1.3 perseant-exfatfs:1.1.1.3.0.12 perseant-exfatfs-base:1.1.1.3 netbsd-9-4-RELEASE:1.1.1.3 netbsd-10-0-RELEASE:1.1.1.3 netbsd-10-0-RC6:1.1.1.3 netbsd-10-0-RC5:1.1.1.3 netbsd-10-0-RC4:1.1.1.3 netbsd-10-0-RC3:1.1.1.3 netbsd-10-0-RC2:1.1.1.3 netbsd-10-0-RC1:1.1.1.3 FILE5_45:1.1.1.3 netbsd-10:1.1.1.3.0.10 netbsd-10-base:1.1.1.3 FILE5_43:1.1.1.3 netbsd-9-3-RELEASE:1.1.1.3 cjep_sun2x-base1:1.1.1.3 cjep_sun2x:1.1.1.3.0.8 cjep_sun2x-base:1.1.1.3 cjep_staticlib_x-base1:1.1.1.3 netbsd-9-2-RELEASE:1.1.1.3 cjep_staticlib_x:1.1.1.3.0.6 cjep_staticlib_x-base:1.1.1.3 FILE5_40:1.1.1.3 netbsd-9-1-RELEASE:1.1.1.3 FILE5_39:1.1.1.3 phil-wifi-20200421:1.1.1.3 phil-wifi-20200411:1.1.1.3 is-mlppp:1.1.1.3.0.4 is-mlppp-base:1.1.1.3 phil-wifi-20200406:1.1.1.3 netbsd-9-0-RELEASE:1.1.1.3 netbsd-9-0-RC2:1.1.1.3 FILE5_38:1.1.1.3 netbsd-9-0-RC1:1.1.1.3 phil-wifi-20191119:1.1.1.3 netbsd-9:1.1.1.3.0.2 netbsd-9-base:1.1.1.3 phil-wifi-20190609:1.1.1.3 FILE5_37:1.1.1.3 pgoyette-compat-merge-20190127:1.1.1.1.2.3 pgoyette-compat-20190127:1.1.1.2 pgoyette-compat-20190118:1.1.1.2 pgoyette-compat-1226:1.1.1.2 pgoyette-compat-1126:1.1.1.2 pgoyette-compat-1020:1.1.1.2 FILE5_35:1.1.1.2 pgoyette-compat-0930:1.1.1.1 pgoyette-compat-0906:1.1.1.1 pgoyette-compat-0728:1.1.1.1 phil-wifi:1.1.1.1.0.4 phil-wifi-base:1.1.1.1 pgoyette-compat-0625:1.1.1.1 pgoyette-compat-0521:1.1.1.1 pgoyette-compat-0502:1.1.1.1 pgoyette-compat:1.1.1.1.0.2 pgoyette-compat-0422:1.1.1.1 FILE5_33:1.1.1.1 CHRISTOS:1.1.1; locks; strict; comment @# @; 1.1 date 2018.04.15.19.32.48; author christos; state Exp; branches 1.1.1.1; next ; commitid unKSwpX2g9VqBzyA; 1.1.1.1 date 2018.04.15.19.32.48; author christos; state Exp; branches 1.1.1.1.2.1 1.1.1.1.4.1; next 1.1.1.2; commitid unKSwpX2g9VqBzyA; 1.1.1.2 date 2018.10.18.23.54.09; author christos; state Exp; branches; next 1.1.1.3; commitid e8WctwerBeEm4vWA; 1.1.1.3 date 2019.05.22.17.19.57; author christos; state Exp; branches; next ; commitid VXeNRYYruN1MWdoB; 1.1.1.1.2.1 date 2018.04.15.19.32.48; author pgoyette; state dead; branches; next 1.1.1.1.2.2; commitid W6xykws0Zbl4kpzA; 1.1.1.1.2.2 date 2018.04.22.07.20.08; author pgoyette; state Exp; branches; next 1.1.1.1.2.3; commitid W6xykws0Zbl4kpzA; 1.1.1.1.2.3 date 2018.10.20.06.58.20; author pgoyette; state Exp; branches; next ; commitid mTSoqZEZ4arHnFWA; 1.1.1.1.4.1 date 2019.06.10.21.44.46; author christos; state Exp; branches; next ; commitid jtc8rnCzWiEEHGqB; desc @@ 1.1 log @Initial revision @ text @ #------------------------------------------------------------------------------ # $File: dbpf,v 1.1 2017/10/13 20:47:14 christos Exp $ # dppf: Maxis Database Packed Files, the stored data file format used by all # Maxis games after the Sims: http://wiki.niotso.org/DBPF # http://www.wiki.sc4devotion.com/index.php?title=DBPF # 13 Oct 2017, Kip Warner 0 string DBPF Maxis Database Packed File >4 ulelong x \b, version: %u. >>8 ulelong x \b%u >>>36 ulelong x \b, files: %u !:ext dbpf/package/dat/sc4 !:mime application/x-maxis-dbpf 4 ulelong 1 >8 ulelong !1 >>24 ledate !0 \b, created: %s >>>28 ledate !0 \b, modified: %s @ 1.1.1.1 log @2018-04-15 14:52 Christos Zoulas * release 5.33 2018-02-24 14:50 Christos Zoulas * extend the support for ${x?:} expansions for magic descriptions 2018-02-21 16:25 Christos Zoulas * add support for ${x?:} in mime types to handle pie binaries. 2017-11-03 9:23 Christos Zoulas * add support for negative offsets (offsets from the end of file) 2017-09-26 8:22 Christos Zoulas * close the file on error when writing magic (Steve Grubb) 2017-09-24 12:02 Christos Zoulas * seccomp support (Paul Moore) 2017-09-02 11:53 Christos Zoulas * release 5.32 2017-08-28 16:37 Christos Zoulas * Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski) 2017-08-27 03:55 Christos Zoulas * Fix always true condition (Thomas Jarosch) 2017-05-24 17:30 Christos Zoulas * pickier parsing of numeric values in magic files. 2017-05-23 17:55 Christos Zoulas * PR/615 add magic_getflags() @ text @@ 1.1.1.1.4.1 log @Sync with HEAD @ text @d3 1 a3 1 # $File: dbpf,v 1.3 2019/04/19 00:42:27 christos Exp $ d6 1 a6 1 # https://www.wiki.sc4devotion.com/index.php?title=DBPF a11 2 >>24 ledate !0 \b, created: %s >>28 ledate !0 \b, modified: %s d14 4 @ 1.1.1.2 log @2018-10-18 19:32 Christos Zoulas * release 5.35 2018-09-10 20:38 Christos Zoulas * Add FreeBSD ELF core file support (John Baldwin) 2018-08-20 18:40 Christos Zoulas * PR/30: Allow all parameter values to be set (don't treat 0 specially) * handle default annotations on the softmagic match instead at the end. 2018-07-25 10:17 Christos Zoulas * PR/23: Recognize JSON files 2018-07-25 10:17 Christos Zoulas * PR/18: file --mime-encoding should not print mime-type 2018-07-25 8:50 Christos Zoulas * release 5.34 2018-06-22 16:38 Christos Zoulas * Add Quad indirect offsets 2018-05-24 14:10 Christos Zoulas * Enable parsing of ELF dynamic sections to handle PIE better @ text @d3 1 a3 1 # $File: dbpf,v 1.2 2018/05/24 18:54:40 christos Exp $ a11 2 >>24 ledate !0 \b, created: %s >>28 ledate !0 \b, modified: %s d14 4 @ 1.1.1.3 log @2019-05-14 22:26 Christos Zoulas * release 5.37 2019-05-09 22:27 Christos Zoulas * Make sure that continuation separators are printed with -k within softmagic 2019-05-06 22:27 Christos Zoulas * Change SIGPIPE saving and restoring during compression to use sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko) * Cache stat(2) calls more to reduce number of calls (Denys Vlasenko) 2019-05-06 17:25 Christos Zoulas * PR/77: Handle --mime-type and -k correctly. 2019-05-03 15:26 Christos Zoulas * Switch decompression code to use vfork() because tools like rpmdiff and rpmbuild call libmagic with large process footprints (Denys Vlasenko) 2019-04-07 14:05 Christos Zoulas * PR/75: --enable-zlib, did not work. 2019-02-27 11:54 Christos Zoulas * Improve regex efficiency (Michael Schroeder) by: 1. Prefixing regex searches with regular search for keywords where possible 2. Using memmem(3) where available @ text @d3 1 a3 1 # $File: dbpf,v 1.3 2019/04/19 00:42:27 christos Exp $ d6 1 a6 1 # https://www.wiki.sc4devotion.com/index.php?title=DBPF @ 1.1.1.1.2.1 log @file dbpf was added on branch pgoyette-compat on 2018-04-22 07:20:08 +0000 @ text @d1 17 @ 1.1.1.1.2.2 log @Sync with HEAD @ text @a0 17 #------------------------------------------------------------------------------ # $File: dbpf,v 1.1 2017/10/13 20:47:14 christos Exp $ # dppf: Maxis Database Packed Files, the stored data file format used by all # Maxis games after the Sims: http://wiki.niotso.org/DBPF # http://www.wiki.sc4devotion.com/index.php?title=DBPF # 13 Oct 2017, Kip Warner 0 string DBPF Maxis Database Packed File >4 ulelong x \b, version: %u. >>8 ulelong x \b%u >>>36 ulelong x \b, files: %u !:ext dbpf/package/dat/sc4 !:mime application/x-maxis-dbpf 4 ulelong 1 >8 ulelong !1 >>24 ledate !0 \b, created: %s >>>28 ledate !0 \b, modified: %s @ 1.1.1.1.2.3 log @Sync with head @ text @d3 1 a3 1 # $File: dbpf,v 1.2 2018/05/24 18:54:40 christos Exp $ a11 2 >>24 ledate !0 \b, created: %s >>28 ledate !0 \b, modified: %s d14 4 @