/PHP-8.0/ext/fileinfo/ |
H A D | fileinfo.c | 43 struct magic_set *magic; member 86 magic_close(intern->ptr->magic); in finfo_objects_free() 112 options, magic_errno(magic), magic_error(magic)); \ 124 magic_close(finfo->magic); in finfo_resource_destructor() 264 if (finfo->magic == NULL) { in PHP_FUNCTION() 278 magic_close(finfo->magic); in PHP_FUNCTION() 361 struct magic_set *magic = NULL; in _php_finfo_get_type() local 397 magic = finfo->magic; in _php_finfo_get_type() 405 magic = finfo->magic; in _php_finfo_get_type() 410 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type() [all …]
|
H A D | magicdata.patch | 1 diff -u magic.orig/Magdir/images magic/Magdir/images 2 --- magic.orig/Magdir/images 2020-05-31 12:34:40.000000000 +0200 3 +++ magic/Magdir/images 2020-07-05 20:00:41.664783368 +0200 9 # images: file(1) magic for image formats (see also "iff", and "c-lang" for 94 diff -u magic.orig/Magdir/rpm magic/Magdir/rpm 95 --- magic.orig/Magdir/rpm 2019-02-22 14:06:34.000000000 +0100 96 +++ magic/Magdir/rpm 2020-07-05 19:38:02.720419674 +0200 105 diff -u magic.orig/Magdir/securitycerts magic/Magdir/securitycerts 106 --- magic.orig/Magdir/securitycerts 2019-02-22 14:06:34.000000000 +0100 107 +++ magic/Magdir/securitycerts 2020-07-05 19:38:02.720419674 +0200
|
H A D | generate_patch.sh | 7 sed -e "s/X\.YY/${VERSION//.}/g" libmagic.orig/magic.h.in > libmagic.orig/magic.h
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | bug71527.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 11 $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527.magic"); 15 Warning: finfo_open(): Failed to load magic database at "%sbug71527.magic" in %sbug71527.php on lin…
|
H A D | bug71527-mb.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 11 … $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527私はガラスを食べられます.magic"); 15 Warning: finfo_open(): Failed to load magic database at "%sbug71527私はガラスを食べられます.magic" in %sbug7152…
|
H A D | bug77961.phpt | 2 Bug #77961 (finfo_open crafted magic parsing SIGABRT) 9 finfo_open(FILEINFO_NONE, __DIR__ . '/bug77961.magic');
|
H A D | finfo_open_error.phpt | 7 $magicFile = __DIR__ . DIRECTORY_SEPARATOR . 'magic'; 34 Warning: finfo_open(): Failed to load magic database at "%sfoobarfile" in %sfinfo_open_error.php on… 37 Warning: finfo_open(): using regular magic file `%smagic' in %sfinfo_open_error.php on line %d
|
H A D | finfo_file_regex.phpt | 10 * $ file -m magic resources/test.awk 13 $magicFile = __DIR__ . DIRECTORY_SEPARATOR . 'magic';
|
H A D | cve-2014-1943-mb.phpt | 10 $fm = __DIR__.'/cve-2014-1943私はガラスを食べられます.magic'; 32 @unlink(__DIR__.'/cve-2014-1943.magic');
|
H A D | cve-2014-1943.phpt | 10 $fm = __DIR__.'/cve-2014-1943.magic'; 32 @unlink(__DIR__.'/cve-2014-1943.magic');
|
/PHP-8.0/ext/date/tests/ |
H A D | DateTimeZone_clone_basic4.phpt | 2 Test clone of DateTimeZone derived objects with __clone magic method 10 echo "-- DateTimeExt1 __clone magic method called --\n"; 14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n"; 24 *** Testing clone of objects derived from DateTimeZone class with __clone magic method*** 25 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_clone_basic4.phpt | 2 Test clone of DateTime derived objects with __clone magic method 13 echo "-- DateTimeExt1 __clone magic method called --\n"; 17 echo "*** Testing clone of objects derived from DateTime class with __clone magic method***\n"; 27 *** Testing clone of objects derived from DateTime class with __clone magic method*** 28 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_extends_basic2.phpt | 2 Test DateTime class inheritance : with user space __construct magic method 9 echo "*** Testing new DateTime() : with user space __construct magic method ***\n"; 28 *** Testing new DateTime() : with user space __construct magic method ***
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | der.h | 27 extern int der_offs(struct magic_set *, struct magic *, size_t); 28 extern int der_cmp(struct magic_set *, struct magic *);
|
H A D | is_tar.c | 126 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar() 127 sizeof(header->header.magic)) == 0) in is_tar() 130 if (strncmp(header->header.magic, TMAGIC, in is_tar() 131 sizeof(header->header.magic)) == 0) in is_tar()
|
H A D | apprentice.c | 106 struct magic *mp; 121 struct magic *magic[MAGIC_SETS]; member 411 ml->magic = map->magic[idx]; in add_mlist() 992 struct magic *m = &ml->magic[magindex]; in apprentice_list() 1021 set_test_type(struct magic *mstart, struct magic *m) in set_test_type() 1823 struct magic *m; in parse() 3128 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map() 3136 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map() 3177 struct magic m; in apprentice_compile() 3274 byteswap(struct magic *magic, uint32_t nmagic) argument [all …]
|
H A D | compress.c | 168 const char *magic; member 185 { { .magic = "\037\236" }, 2, gzip_args, NULL }, /* 3, frozen */ 186 { { .magic = "\037\240" }, 2, gzip_args, NULL }, /* 4, SCO LZH */ 188 { { .magic = "\037\036" }, 2, gzip_args, NULL }, /* 5, packed */ 189 { { .magic = "PK\3\4" }, 4, gzip_args, NULL }, /* 6, pkziped */ 191 { { .magic = "BZh" }, 3, bzip2_args, do_bzlib },/* 7, bzip2-ed */ 192 { { .magic = "LZIP" }, 4, lzip_args, NULL }, /* 8, lzip-ed */ 193 { { .magic = "\3757zXZ\0" },6, xz_args, NULL }, /* 9, XZ Util */ 194 { { .magic = "LRZI" }, 4, lrzip_args, NULL }, /* 10, LRZIP */ 195 { { .magic = "\004\"M\030" },4, lz4_args, NULL }, /* 11, LZ4 */ [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | bug47801.phpt | 10 echo("magic method called: $name\n"); 30 magic method called: getFoo 31 magic method called: getFoo
|
/PHP-8.0/ext/phar/tests/ |
H A D | bug65414.phpt | 2 Bug #65414 Injection (A1) in .phar files magic .phar directory 32 .phar/injected-1.txt:Cannot create any files in magic ".phar" directory 33 /.phar/injected-2.txt:Cannot create any files in magic ".phar" directory 35 /.phar/:Cannot create any files in magic ".phar" directory
|
/PHP-8.0/ext/phar/tests/bug64931/ |
H A D | bug64931.phpt | 52 CAUGHT: Cannot create any files in magic ".phar" directory 53 CAUGHT: Cannot create any files in magic ".phar" directory 54 CAUGHT: Cannot create any files in magic ".phar" directory 55 CAUGHT: Cannot create any files in magic ".phar" directory
|
/PHP-8.0/ext/standard/tests/class_object/ |
H A D | property_exists_variation1.phpt | 14 echo "\ntesting __get magic method\n"; 24 testing __get magic method
|
/PHP-8.0/ext/hash/ |
H A D | hash_sha3.c | 205 zend_long magic, in php_sha3_unserialize() argument 211 if (magic == PHP_HASH_SERIALIZE_MAGIC_SPEC in php_sha3_unserialize() 239 zend_long magic, \ 241 return php_sha3_unserialize(hash, magic, zv, (1600 - (2 * bits)) >> 3); \ 296 static int php_keccak_serialize(const php_hashcontext_object *hash, zend_long *magic, zval *zv) in php_keccak_serialize() argument 298 *magic = PHP_HASH_SERIALIZE_MAGIC_KECCAK; in php_keccak_serialize() 302 static int php_keccak_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) in php_keccak_unserialize() argument 306 if (magic == PHP_HASH_SERIALIZE_MAGIC_KECCAK in php_keccak_unserialize()
|
H A D | php_hash.h | 38 typedef int (*php_hash_serialize_func_t)(const php_hashcontext_object *hash, zend_long *magic, zva… 39 typedef int (*php_hash_unserialize_func_t)(php_hashcontext_object *hash, zend_long magic, const zv… 144 PHP_HASH_API int php_hash_serialize(const php_hashcontext_object *context, zend_long *magic, zval *… 145 PHP_HASH_API int php_hash_unserialize(php_hashcontext_object *context, zend_long magic, const zval …
|
/PHP-8.0/ext/zlib/tests/ |
H A D | zlib_scheme_copy_variation2.phpt | 35 //also need to look for the magic number (x1f x8b) to prove it 38 $magic = fread($h, 2); 41 if ($org_data == $copied_data && bin2hex($magic) === '1f8b') {
|
/PHP-8.0/ext/ldap/tests/ |
H A D | ldap_get_option_variation.phpt | 17 array("oid" => "1.2.752.58.1.10", "value" => "magic"), 84 string(5) "magic" 105 string(5) "magic"
|