summaryrefslogtreecommitdiff
path: root/src/apprentice.c
Commit message (Expand)AuthorAgeFilesLines
* Allow @ in extensionChristos Zoulas2016-11-071-2/+2
* more c++ castsChristos Zoulas2016-10-241-2/+2
* When loading multiple magic files as in -m foo.mgc:bar and one of them fails,Christos Zoulas2016-10-241-9/+3
* fix wrong variable use (Jonas Wagner)Christos Zoulas2016-09-131-2/+2
* PR/569: Shi Yin: Fix memory leak.Christos Zoulas2016-09-111-4/+4
* Add support for signed indirect offsets.Christos Zoulas2016-07-201-4/+6
* Bumo string size to 96; don't try to parse a compiled file as a regular magicChristos Zoulas2016-07-051-3/+8
* PR/547: After compilation is done we don't need the data of the map anymore.Christos Zoulas2016-05-171-1/+2
* Allow altering how many bytes to read from analyzed files from the commandChristos Zoulas2016-03-311-2/+3
* After we map and byteswap, mprotect(2) the magic entries read-onlyChristos Zoulas2016-01-191-1/+7
* missing break for DER weightChristos Zoulas2016-01-191-1/+2
* Add DER parsing (experimental)Christos Zoulas2016-01-191-1/+9
* PR/494: make MAP_TYPE_USER be 0, and also set it expicitly. This avoidsChristos Zoulas2015-11-131-9/+10
* - check for MAP_FAILED before unmapping.Christos Zoulas2015-11-091-4/+4
* allow ? in apple creator/type magicChristos Zoulas2015-10-311-2/+2
* drop the count of digits allowed.Christos Zoulas2015-09-161-2/+2
* this will happen on systems that don't have mmap(2). TypicallyChristos Zoulas2015-09-161-3/+7
* PR/479: check the format length modifiers.Christos Zoulas2015-09-161-26/+46
* PR/474: be more careful about updating string positions:Christos Zoulas2015-09-121-5/+13
* PR/474: Add a limit to the size of regex searches to prevent performanceChristos Zoulas2015-09-111-1/+2
* PR/475: Fix past end of buffer read.Christos Zoulas2015-09-101-1/+2
* don't leak memory when loading non-compiled files.Christos Zoulas2015-09-101-1/+5
* PR/470: Fix undefined behaviors.Christos Zoulas2015-07-271-4/+6
* PR/459: Don't let invalid magic entries go through with warnings becauseChristos Zoulas2015-06-101-6/+14
* Add --extensionChristos Zoulas2015-04-091-1/+16
* Add the lineno in the strength printing.Christos Zoulas2015-02-061-2/+3
* Bug + portability fixes from the NetBSD build.Christos Zoulas2015-01-021-4/+6
* Add indirect relative offsets; make Exif use them. All other indirect magicChristos Zoulas2015-01-011-110/+158
* - Add a limit to the number of ELF notes processed (Suggested by AlexanderChristos Zoulas2014-12-161-1/+2
* Remove name recursion limit, it is always lower than the count... RenameChristos Zoulas2014-11-281-5/+4
* add a limit to the number of times a name/use entries can be used.Christos Zoulas2014-11-281-1/+2
* Kill -R and replace with -P param=value. Allow setting of 4 parameters:Christos Zoulas2014-11-271-2/+5
* bump recursion to 15, and allow it to be set from the command line.Christos Zoulas2014-11-271-1/+2
* Simplify freeing of the map and remove bogus frees in the user buffer case.Christos Zoulas2014-11-121-8/+12
* fix memory leak.Christos Zoulas2014-11-111-6/+6
* Always add the map to the head of the list; this way we can always dependablyChristos Zoulas2014-10-291-6/+13
* PR/394: Properly cleanup in new buffers function.Christos Zoulas2014-10-281-16/+16
* PR/395: fix typoChristos Zoulas2014-10-281-2/+2
* PR/395: Avoid infinite loop in oomem cleanup.Christos Zoulas2014-10-281-6/+4
* On arm, chars are by default unsigned so force sign extension.Christos Zoulas2014-10-151-2/+2
* PR/384: remove %z formats that break windows.Christos Zoulas2014-09-241-2/+3
* Be more strict about extra string parsing, and always report errors.Christos Zoulas2014-08-301-9/+17
* - fix so that apprentice succeedsChristos Zoulas2014-08-041-5/+4
* PR/367: Brooks Davis: Add magic_load_buffers to provide a means to load theChristos Zoulas2014-08-041-24/+116
* Fix warnings (Xin Li)Christos Zoulas2014-06-261-4/+5
* * Enforce limit of 8K on regex searches that have no limitsChristos Zoulas2014-06-031-3/+9
* PR/347: Windows patches.Christos Zoulas2014-05-141-2/+3
* Roman I Khimov:Christos Zoulas2014-05-131-2/+1
* Compile regex during the magic compilation process so that we catch badChristos Zoulas2014-05-061-1/+11
* PR/351: Fix compilation of empty files.Christos Zoulas2014-05-041-18/+10