/PHP-7.1/ext/phar/tests/ |
H A D | 010.phpt | 13 // this fails because the manifest length does not include the other 10 byte manifest data 15 $manifest = pack('V', 1) . 'a' . pack('VVVVVV', 0, time(), 0, crc32(b''), 0x00000000, 0); 16 $file .= pack('VVnVV', strlen($manifest), 1, 0x1000, 0x00000000, 3) . 'hio' . pack('V', 0) . $manif… 29 internal corruption of phar "%s" (too many manifest entries for size of manifest)
|
H A D | 006.phpt | 2 Phar::mapPhar truncated manifest (manifest length truncated) 14 internal corruption of phar "%s" (truncated manifest at manifest length)
|
H A D | 005.phpt | 2 Phar::mapPhar truncated manifest (none) 14 internal corruption of phar "%s" (truncated manifest at manifest length)
|
H A D | 002.phpt | 2 Phar::mapPhar truncated manifest/improper params 17 internal corruption of phar "%s002.php" (truncated manifest at manifest length)
|
H A D | 008.phpt | 2 Phar::mapPhar truncated manifest (not enough for manifest length) 21 internal corruption of phar "%s" (truncated manifest header)
|
H A D | 009.phpt | 2 Phar::mapPhar too many manifest entries 23 internal corruption of phar "%s009.phar.php" (too many manifest entries for size of manifest)
|
H A D | 007.phpt | 2 Phar::mapPhar manifest too big 14 manifest cannot be larger than 100 MB in phar "%s"
|
H A D | webphar_compilefail.phpt | 17 internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)
|
H A D | bug69324.phpt | 17 internal corruption of phar "%s" (truncated manifest entry)
|
H A D | bug73764.phpt | 16 internal corruption of phar "%sbug73764.phar" (truncated manifest entry)
|
H A D | bug73768.phpt | 16 internal corruption of phar "%sbug73768.phar" (truncated manifest header)
|
H A D | bug77143.phpt | 18 internal corruption of phar "%sbug77143.phar" (truncated manifest header)
|
H A D | 011.phpt | 2 Phar::mapPhar filesize too small in manifest
|
/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 7 $manifest = (binary)''; 42 // write manifest entry 43 $manifest .= pack('V', strlen($name)) . (binary)$name; 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 55 …manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) … 57 $file .= pack('V', strlen($manifest)) . $manifest;
|
/PHP-7.1/ext/phar/tests/files/ |
H A D | phar_test.inc | 7 $manifest = (binary)''; 42 // write manifest entry 43 $manifest .= pack('V', strlen($name)) . (binary)$name; 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 55 …manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) … 57 $file .= pack('V', strlen($manifest)) . $manifest;
|
/PHP-7.1/win32/build/ |
H A D | Makefile.phpize | 31 …-@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI… 55 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 56 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
|
H A D | Makefile | 106 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 107 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 117 @copy win32\build\default.manifest $(BUILD_DIR)\$(PHPDLL).manifest >nul 145 …-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI… 157 …IR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.db… 233 @copy win32\build\default.manifest $(BUILD_DIR_DEV)\build\ /y >nul
|
/PHP-7.1/ext/phar/ |
H A D | dirstream.c | 199 zend_hash_internal_pointer_reset(manifest); in phar_make_dirstream() 201 while (FAILURE != zend_hash_has_more_elements(manifest)) { in phar_make_dirstream() 209 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 220 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 242 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 248 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 281 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream() 364 if (!phar->manifest.u.flags) { in phar_wrapper_open_dir() 384 zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_open_dir() 613 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rmdir() [all …]
|
H A D | gdbhelp | 66 set $manifest = (*(phar_archive_data*)$p->pDataPtr).manifest 67 set $m = $manifest.pListHead 94 set $manifest = (*(phar_archive_data*)$p->pDataPtr).manifest 95 set $m = $manifest.pListHead
|
H A D | tar.c | 239 zend_hash_init(&myphar->manifest, 2 + (totalsize >> 12), in phar_parse_tarfile() 487 if (!zend_hash_str_exists(&myphar->manifest, hdr->linkname, linkname_len)) { in phar_parse_tarfile() 595 if (zend_hash_str_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_tarfile() 885 zend_hash_str_del(&(entry->phar->manifest), entry->filename, entry->filename_len); in phar_tar_setmetadata() 921 zend_hash_str_del(&(entry->phar->manifest), lookfor, lookfor_len); in phar_tar_setupmetadata() 926 if (NULL != (metadata = zend_hash_str_find_ptr(&(entry->phar->manifest), lookfor, lookfor_len))) { in phar_tar_setupmetadata() 1013 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush() 1120 if (!zend_hash_str_exists(&phar->manifest, ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_tar_flush() 1198 zend_hash_str_del(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush() 1207 zend_hash_apply_with_argument(&phar->manifest, phar_tar_setupmetadata, (void *) &pass); in phar_tar_flush() [all …]
|
H A D | phar.c | 223 if (phar->manifest.u.flags) { in PHP_INI_END() 224 zend_hash_destroy(&phar->manifest); in PHP_INI_END() 225 phar->manifest.u.flags = 0; in PHP_INI_END() 2499 char manifest[18], entry_buffer[24]; local 2861 phar_set_32(manifest, manifest_len); 2863 if(manifest[0] == '\r' || manifest[0] == '\n') { 2865 phar_set_32(manifest, manifest_len); 2876 phar_set_32(manifest+10, global_flags); 2877 phar_set_32(manifest+14, phar->alias_len); 2880 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest)) [all …]
|
H A D | phar_internal.h | 286 HashTable manifest; member 330 phar_entry_fp_info *manifest; member 414 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type() 424 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type; in phar_get_fp_type() 432 if (PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].fp_type == PHAR_FP) { in phar_get_fp_offset() 433 if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset() 434 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset() 437 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
|
H A D | TODO | 7 X implement reading in metadata in manifest as <len32><metadata...> [Marcus] 8 X implement writing out of metadata to new manifest [Marcus] 13 X docs on file format/manifest description [Greg] 73 this would traverse external.phar's manifest, and add each entry as a 111 maps its manifest inside archive.phar. The manifest entry inside
|
H A D | func_interceptors.c | 163 if (!zend_hash_str_exists(&(phar->manifest), entry + 1, entry_len - 1)) { in PHAR_FUNC() 171 if (!zend_hash_str_exists(&(phar->manifest), entry, entry_len)) { in PHAR_FUNC() 286 if (!zend_hash_str_exists(&(phar->manifest), entry + 1, entry_len - 1)) { in PHAR_FUNC() 294 if (!zend_hash_str_exists(&(phar->manifest), entry, entry_len)) { in PHAR_FUNC() 387 if (!zend_hash_str_exists(&(phar->manifest), entry + 1, entry_len - 1)) { in PHAR_FUNC() 395 if (!zend_hash_str_exists(&(phar->manifest), entry, entry_len)) { in PHAR_FUNC() 653 if (NULL != (data = zend_hash_str_find_ptr(&(phar->manifest), entry + 1, entry_len - 1))) { in phar_file_stat() 659 if (NULL != (data = zend_hash_str_find_ptr(&(phar->manifest), entry, entry_len))) { in phar_file_stat() 697 if (NULL != (data = zend_hash_str_find_ptr(&(phar->manifest), entry + 1, entry_len - 1))) { in phar_file_stat() 941 if (NULL != (etemp = zend_hash_str_find_ptr(&(phar->manifest), entry, entry_len))) { in PharFileFunction() [all …]
|
H A D | zip.c | 284 zend_hash_init(&mydata->manifest, PHAR_GET_16(locator.count), in phar_parse_zipfile() 295 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile() 296 mydata->manifest.u.flags = 0; \ in phar_parse_zipfile() 317 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile() 318 mydata->manifest.u.flags = 0; \ in phar_parse_zipfile() 1241 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_zip_flush() 1428 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1429 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1431 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() 1432 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() [all …]
|