/php-src/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(''), 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 21 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 | 16 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-src/ext/phar/tests/files/ |
H A D | phar_test.inc | 5 $manifest = (binary)''; 40 // write manifest entry 41 $manifest .= pack('V', strlen($name)) . (binary)$name; 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 53 …manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) … 55 $file .= pack('V', strlen($manifest)) . $manifest;
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 5 $manifest = (binary)''; 40 // write manifest entry 41 $manifest .= pack('V', strlen($name)) . (binary)$name; 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 53 …manifest = pack('VnVV', count($files), isset($hasdir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) … 55 $file .= pack('V', strlen($manifest)) . $manifest;
|
/php-src/win32/build/ |
H A D | Makefile.phpize | 31 …-@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI… 63 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 64 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@…
|
H A D | Makefile | 125 _VC_MANIFEST_EMBED_EXE= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 126 _VC_MANIFEST_EMBED_DLL= if exist $@.manifest $(MT) -nologo -manifest $@.manifest -outputresource:$@… 136 @copy win32\build\default.manifest $(BUILD_DIR)\$(PHPDLL).manifest >nul 164 …-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI… 176 …IR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.db… 250 @copy win32\build\default.manifest $(BUILD_DIR_DEV)\build\ /y >nul
|
/php-src/ext/phar/ |
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 | dirstream.c | 153 static php_stream *phar_make_dirstream(const char *dir, size_t dirlen, const HashTable *manifest) /… in phar_make_dirstream() argument 168 ZEND_HASH_MAP_FOREACH_STR_KEY(manifest, str_key) { in phar_make_dirstream() 301 return phar_make_dirstream("/", strlen("/"), &phar->manifest); in phar_wrapper_open_dir() 304 if (!HT_IS_INITIALIZED(&phar->manifest)) { in phar_wrapper_open_dir() 311 phar_entry_info *entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, internal_file_len); in phar_wrapper_open_dir() 323 ret = phar_make_dirstream(internal_file, internal_file_len, &phar->manifest); in phar_wrapper_open_dir() 330 ZEND_HASH_MAP_FOREACH_STR_KEY(&phar->manifest, str_key) { in phar_wrapper_open_dir() 333 ret = phar_make_dirstream(internal_file, internal_file_len, &phar->manifest); in phar_wrapper_open_dir() 453 …if (NULL == zend_hash_str_add_mem(&phar->manifest, entry.filename, entry.filename_len, (void*)&ent… in phar_wrapper_mkdir() 464 zend_hash_str_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() [all …]
|
H A D | tar.c | 239 zend_hash_init(&myphar->manifest, 2 + (totalsize >> 12), in phar_parse_tarfile() 498 if (!zend_hash_str_exists(&myphar->manifest, hdr->linkname, linkname_len)) { in phar_parse_tarfile() 611 if (zend_hash_str_exists(&(myphar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_parse_tarfile() 898 zend_hash_str_del(&(entry->phar->manifest), entry->filename, entry->filename_len); in phar_tar_setmetadata() 934 zend_hash_str_del(&(entry->phar->manifest), lookfor, lookfor_len); in phar_tar_setupmetadata() 939 if (NULL != (metadata = zend_hash_str_find_ptr(&(entry->phar->manifest), lookfor, lookfor_len))) { in phar_tar_setupmetadata() 1021 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_tar_flush() 1080 if (!zend_hash_str_exists(&phar->manifest, ".phar/stub.php", sizeof(".phar/stub.php")-1)) { in phar_tar_flush() 1151 zend_hash_str_del(&(phar->manifest), ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1); in phar_tar_flush() 1160 zend_hash_apply_with_argument(&phar->manifest, phar_tar_setupmetadata, (void *) &pass); in phar_tar_flush() [all …]
|
H A D | phar.c | 212 if (HT_IS_INITIALIZED(&phar->manifest)) { in PHP_INI_END() 213 zend_hash_destroy(&phar->manifest); in PHP_INI_END() 214 HT_INVALIDATE(&phar->manifest); in PHP_INI_END() 1095 HT_INVALIDATE(&mydata->manifest); in phar_parse_pharfile() 2542 char manifest[18], entry_buffer[24]; in phar_flush_ex() local 2861 phar_set_32(manifest, manifest_len); in phar_flush_ex() 2863 if(manifest[0] == '\r' || manifest[0] == '\n') { in phar_flush_ex() 2865 phar_set_32(manifest, manifest_len); in phar_flush_ex() 2876 phar_set_32(manifest+10, global_flags); in phar_flush_ex() 2880 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest)) in phar_flush_ex() [all …]
|
H A D | zip.c | 338 zend_hash_init(&mydata->manifest, PHAR_GET_16(locator.count), in phar_parse_zipfile() 349 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile() 350 HT_INVALIDATE(&mydata->manifest); \ in phar_parse_zipfile() 371 zend_hash_destroy(&mydata->manifest); \ in phar_parse_zipfile() 372 HT_INVALIDATE(&mydata->manifest); \ in phar_parse_zipfile() 1306 zend_hash_str_del(&phar->manifest, ".phar/alias.txt", sizeof(".phar/alias.txt")-1); in phar_zip_flush() 1429 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1430 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest) + 1); in phar_zip_flush() 1432 PHAR_SET_16(eocd.counthere, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() 1433 PHAR_SET_16(eocd.count, zend_hash_num_elements(&phar->manifest)); in phar_zip_flush() [all …]
|
H A D | util.c | 132 if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset() 136 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset() 324 if (zend_hash_str_exists(&(phar->manifest), test + 1, try_len - 1)) { in phar_find_in_include_path() 331 if (zend_hash_str_exists(&(phar->manifest), test, try_len)) { in phar_find_in_include_path() 834 data = &(PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos]); in phar_set_fp_type() 1291 if (!HT_IS_INITIALIZED(&phar->manifest)) { in phar_get_entry_info_dir() 1302 if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) { in phar_get_entry_info_dir() 1347 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) { in phar_get_entry_info_dir() 1396 if (NULL == (entry = zend_hash_str_find_ptr(&phar->manifest, path, path_len))) { in phar_get_entry_info_dir() 2097 zend_hash_copy(&newmanifest, &(*pphar)->manifest, phar_manifest_copy_ctor); in phar_copy_cached_phar() [all …]
|
H A D | phar_object.c | 358 if (zend_hash_str_exists(&(pphar->manifest), e, e_len)) { in phar_postprocess_ru_web() 2129 if (!zend_hash_num_elements(&phar->manifest)) { in phar_rename_archive() 2268 zend_hash_init(&(phar->manifest), sizeof(phar_entry_info), in phar_convert_to_other() 2288 ZEND_HASH_MAP_FOREACH_PTR(&source->manifest, entry) { in phar_convert_to_other() 2303 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other() 2336 zend_hash_destroy(&(phar->manifest)); in phar_convert_to_other() 3367 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD() 3411 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD() 4332 ZEND_HASH_MAP_FOREACH_PTR(&archive->manifest, entry) { in extract_helper() 4338 ZEND_HASH_MAP_FOREACH_PTR(&archive->manifest, entry) { in extract_helper() [all …]
|
/php-src/ext/zip/tests/ |
H A D | bug7658.phpt | 22 "META-INF/manifest.xml",
|