Concatenate a message onto the end of the errstr2.
Referenced by btrfs_open(), and fatfs_inode_walk().
Return the string with the current error message.
Return a human-readable form of tsk_error_get_errno.
The string does not end with a newline.
Referenced by TskError::get(), and tsk_error_print().
Return the current error number.
Referenced by TskAuto::findFilesInVs(), TskAuto::registerError(), tsk_error_print(), and tsk_fs_open_img_decrypt().
Retrieve the current, basic error string.
Additional information is in errstr2. Use tsk_error_get() to get a fully formatted string.
Referenced by TskIsImageSupported::getMessageForIsImageSupportedNat(), TskAuto::registerError(), and tsk_fs_open_img_decrypt().
Retrieve the current error string #2.
This has additional information than string #1.
Referenced by TskAuto::registerError().
Print the current fully formed error message to a file.
References tsk_error_get(), tsk_error_get_errno(), and tsk_fprintf().
Referenced by fatfs_inode_walk(), fatfs_istat(), fatxxfs_dent_parse_buf(), TskError::print(), and tsk_fs_dir_get().
Set the current TSK error number.
Referenced by TskAutoDb::addFilesInImgToDb(), TskAutoDb::commitAddImage(), TskAuto::enableImageWriter(), encase_make_index(), fatfs_inode_walk(), fatxxfs_dent_parse_buf(), TskAuto::findFilesInFs(), TskAuto::findFilesInFsRet(), TskAuto::findFilesInImg(), TskAuto::findFilesInPool(), TskAuto::findFilesInVs(), TskDbSqlite::getFsInfos(), TskDbSqlite::getVsInfos(), TskDbSqlite::getVsPartInfos(), TskAuto::hasPool(), hdb_binsrch_idx_finalize(), hdb_binsrch_idx_initialize(), hdb_binsrch_lookup_bin(), hdb_binsrch_lookup_str(), hk_getentry(), hk_makeindex(), idxonly_open(), md5sum_makeindex(), TskCaseDb::newDb(), nsrl_makeindex(), TskCaseDb::openDb(), TskAutoDb::revertAddImage(), TskAutoDb::startAddImage(), tsk_fs_attr_read(), tsk_fs_attr_walk(), tsk_fs_blkcat(), tsk_fs_block_get_flag(), tsk_fs_block_walk(), tsk_fs_dir_get(), tsk_fs_dir_get_name(), tsk_fs_dir_getsize(), tsk_fs_dir_open(), tsk_fs_file_attr_get_id(), tsk_fs_file_get_owner_sid(), tsk_fs_file_hash_calc(), tsk_fs_file_open(), tsk_fs_file_open_meta(), tsk_fs_file_read(), tsk_fs_file_read_type(), tsk_fs_file_walk(), tsk_fs_file_walk_type(), tsk_fs_ifind_path(), tsk_fs_open_img_decrypt(), tsk_fs_open_vol_decrypt(), tsk_fs_path2inum(), tsk_fs_read_block_decrypt(), tsk_fs_read_decrypt(), tsk_hdb_accepts_updates(), tsk_hdb_add_entry(), tsk_hdb_begin_transaction(), tsk_hdb_close(), tsk_hdb_commit_transaction(), tsk_hdb_create(), tsk_hdb_has_idx(), tsk_hdb_is_idx_only(), tsk_hdb_lookup_raw(), tsk_hdb_lookup_str(), tsk_hdb_make_index(), tsk_hdb_open(), tsk_hdb_rollback_transaction(), tsk_img_open_external(), tsk_img_read(), tsk_ntfs_usnjentry_walk(), tsk_ntfs_usnjopen(), tsk_parse_offset(), tsk_parse_pnum(), tsk_vs_open(), tsk_vs_part_get(), tsk_vs_part_read_block(), tsk_vs_part_walk(), and tsk_vs_read_block().
Set the error string #1.
This should contain the basic message.
Referenced by TskAutoDb::addFilesInImgToDb(), TskAutoDb::commitAddImage(), TskAuto::enableImageWriter(), encase_make_index(), fatfs_inode_walk(), fatxxfs_dent_parse_buf(), TskAuto::findFilesInFs(), TskAuto::findFilesInFsRet(), TskAuto::findFilesInImg(), TskAuto::findFilesInPool(), TskAuto::findFilesInVs(), TskDbSqlite::getFsInfos(), TskDbSqlite::getVsInfos(), TskDbSqlite::getVsPartInfos(), TskAuto::hasPool(), hdb_binsrch_idx_finalize(), hdb_binsrch_idx_initialize(), hdb_binsrch_lookup_bin(), hdb_binsrch_lookup_str(), hk_getentry(), hk_makeindex(), idxonly_open(), md5sum_makeindex(), TskCaseDb::newDb(), nsrl_makeindex(), TskCaseDb::openDb(), TskAutoDb::revertAddImage(), TskAutoDb::startAddImage(), tsk_fs_attr_read(), tsk_fs_attr_walk(), tsk_fs_blkcat(), tsk_fs_block_get_flag(), tsk_fs_block_walk(), tsk_fs_dir_get(), tsk_fs_dir_get_name(), tsk_fs_dir_getsize(), tsk_fs_dir_open(), tsk_fs_file_attr_get_id(), tsk_fs_file_get_owner_sid(), tsk_fs_file_hash_calc(), tsk_fs_file_open(), tsk_fs_file_open_meta(), tsk_fs_file_read(), tsk_fs_file_read_type(), tsk_fs_file_walk(), tsk_fs_file_walk_type(), tsk_fs_ifind_path(), tsk_fs_open_img_decrypt(), tsk_fs_open_vol_decrypt(), tsk_fs_path2inum(), tsk_fs_read_block_decrypt(), tsk_fs_read_decrypt(), tsk_hdb_accepts_updates(), tsk_hdb_add_entry(), tsk_hdb_begin_transaction(), tsk_hdb_close(), tsk_hdb_commit_transaction(), tsk_hdb_create(), tsk_hdb_has_idx(), tsk_hdb_is_idx_only(), tsk_hdb_lookup_raw(), tsk_hdb_lookup_str(), tsk_hdb_make_index(), tsk_hdb_open(), tsk_hdb_rollback_transaction(), tsk_img_open_external(), tsk_img_read(), tsk_ntfs_usnjentry_walk(), tsk_ntfs_usnjopen(), tsk_parse_offset(), tsk_parse_pnum(), tsk_vs_open(), tsk_vs_part_get(), tsk_vs_part_read_block(), tsk_vs_part_walk(), and tsk_vs_read_block().
Set the error string #2.
This is called by methods who encounter the error, but did not set errno.
Referenced by btrfs_open(), encase_make_index(), fatfs_inode_walk(), TskAuto::findFilesInFs(), TskAuto::findFilesInFsRet(), TskAuto::findFilesInPool(), hdb_binsrch_idx_finalize(), hdb_binsrch_lookup_str(), hk_makeindex(), md5sum_makeindex(), nsrl_makeindex(), TskAutoDb::startAddImage(), and tsk_fs_attr_read().
Set the error string.
Set the error string.
fprintf wrapper function that takes UTF-8 strings as input (on all platforms) and does what is necessary to output strings in the correct encoding (UTF-8 on Unix and UTF-16 on Windows).
Referenced by btrfs_open(), TskAutoDb::commitAddImage(), fatfs_inode_walk(), fatfs_istat(), fatxxfs_dent_parse_buf(), fatxxfs_istat_attr_flags(), hdb_binsrch_idx_finalize(), TskAutoDb::processFile(), TskAutoDb::revertAddImage(), TskAutoDb::startAddImage(), TskAutoDb::stopAddImage(), tsk_error_print(), tsk_fs_file_walk(), tsk_fs_file_walk_type(), tsk_fs_open_img_decrypt(), tsk_fs_path2inum(), tsk_fs_type_print(), tsk_img_type_print(), tsk_ntfs_usnjopen(), tsk_print_sanitized(), tsk_version_print(), tsk_vs_open(), and tsk_vs_type_print().
Add an entry to a TSK_LIST (and create one if one does not exist)
References TSK_LIST::key, TSK_LIST::len, and TSK_LIST::next.
Search a TSK_LIST for the existence of a value.
References TSK_LIST::key, TSK_LIST::len, and TSK_LIST::next.
Calculate the MD5 hash of the data added to this context.
Context will be zeroed after this call.
References TSK_MD5_Update().
Referenced by tsk_fs_file_hash_calc().
Initialize a MD5 context structure so that data can be added to it.
Referenced by tsk_fs_file_hash_calc().
Add data to an initialized MD5 operation.
Referenced by TSK_MD5_Final().
Parse a TSK_TCHAR block address string.
Note that the cnt@size format is no longer supported. Set the device sector size in img_open to set the block size.
References PRIttocTSK, tsk_error_reset(), tsk_error_set_errno(), and tsk_error_set_errstr().
Parse a TSK_TCHAR string of a partition byte offset and the integer version of it.
References PRIttocTSK, tsk_error_reset(), tsk_error_set_errno(), and tsk_error_set_errstr().
Prints the string removing control characters.
References tsk_fprintf().
printf wrapper function that takes UTF-8 strings as input (on all platforms) and does what is necessary to output strings in the correct encoding (UTF-8 on Unix and UTF-16 on Windows).
Referenced by tsk_fs_blkcat().
Calculate the hash of the data added to the context.
Referenced by tsk_fs_file_hash_calc().
Initialize a SHA-1 context so that data can be added to it.
Referenced by tsk_fs_file_hash_calc().
Add data to an initialized SHA-1 context.
Create a TSK_STACK structure.
References TSK_STACK::len, TSK_STACK::top, and TSK_STACK::vals.
Search a TSK_STACK for a given value.
References TSK_STACK::top, and TSK_STACK::vals.
Free an allocated TSK_STACK structure.
References TSK_STACK::vals.
Pop a value from the top of the stack.
References TSK_STACK::top.
Push a value to the top of TSK_STACK.
References TSK_STACK::len, TSK_STACK::top, and TSK_STACK::vals.
Convert a UTF-16 string to UTF-8.
References TSKconversionOK, TSKsourceExhausted, TSKsourceIllegal, TSKstrictConversion, and TSKtargetExhausted.
Referenced by fatxxfs_dent_parse_buf().
Convert a UTF-16 string in local endian ordering to UTF-8.
References TSKconversionOK, TSKsourceExhausted, TSKsourceIllegal, TSKstrictConversion, and TSKtargetExhausted.
Referenced by tsk_fs_ifind_path().
Convert a UTF-8 string to UTF-16 (in local endian ordering).
References TSKconversionOK, TSKsourceExhausted, TSKsourceIllegal, TSKstrictConversion, and TSKtargetExhausted.
Referenced by TskAuto::enableImageWriter().
Return the library version as a string.
References TSK_VERSION_STR.
Print the library name and version to a handle (such as "The Sleuth Kit ver 1.00").
References tsk_fprintf(), and TSK_VERSION_STR.
Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.