|
Rizin
unix-like reverse engineering framework and cli tools
|
Functions | |
| def | hashfile (hasher, fname, blocksize=65536) |
| def | log (text) |
| def | execute (command, print_command=True, print_output=False, print_error=True, param_shell=True) |
| def | does_command_exist (command) |
| def | send_email (emails, topic, text, have_mutt, have_mail) |
| def | send_email_with_attachments (branch, commit, last_commit, args, text, results_files, logFileName, have_mutt, have_mail) |
| def | git_get_branches () |
| def | git_get_changes (branch, commit, last_commit) |
| def | get_last_results (resultsFileName) |
| def | benchmark_and_compare (branch, commit, last_commit, args, executableName, md5sum, compilerVersion, resultsFileName, testFilePath, fileName, last_csize, last_cspeed, last_dspeed) |
| def | update_config_file (branch, commit) |
| def | double_check (branch, commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName) |
| def | test_commit (branch, commit, last_commit, args, testFilePaths, have_mutt, have_mail) |
Variables | |
| string | script_version = 'v1.7.2 (2016-11-08)' |
| string | default_repo_url = 'https://github.com/lz4/lz4.git' |
| string | working_dir_name = 'speedTest' |
| string | working_path = os.getcwd() + '/' + working_dir_name |
| string | clone_path = working_path + '/' + 'lz4' |
| string | email_header = 'lz4_speedTest' |
| pid = str(os.getpid()) | |
| bool | verbose = False |
| string | clang_version = "unknown" |
| string | gcc_version = "unknown" |
| args = None | |
| parser = argparse.ArgumentParser() | |
| help | |
| default | |
| type | |
| float | |
| int | |
| dest | |
| action | |
| testFileNames = args.testFileNames.split() | |
| list | testFilePaths = [] |
| fileName = os.path.expanduser(fileName) | |
| def | have_mutt = does_command_exist("mutt -h") |
| def | have_mail = does_command_exist("mail -V") |
| cwd | |
| string | pidfile = "./speedTest.pid" |
| string | branch = "" |
| string | commit = "" |
| bool | first_time = True |
| loadavg = os.getloadavg()[0] | |
| def | branches = git_get_branches() |
| def | last_commit = update_config_file(branch, commit) |
| stack = traceback.format_exc() | |
| string | email_topic = '[%s:%s] ERROR in %s:%s' % (email_header, pid, branch, commit) |
| def test-lz4-speed.benchmark_and_compare | ( | branch, | |
| commit, | |||
| last_commit, | |||
| args, | |||
| executableName, | |||
| md5sum, | |||
| compilerVersion, | |||
| resultsFileName, | |||
| testFilePath, | |||
| fileName, | |||
| last_csize, | |||
| last_cspeed, | |||
| last_dspeed | |||
| ) |
Definition at line 147 of file test-lz4-speed.py.
References execute(), float, get_last_results(), len, min, capstone.range, and cmd_descs_generate.str.
Referenced by double_check().
| def test-lz4-speed.double_check | ( | branch, | |
| commit, | |||
| args, | |||
| executableName, | |||
| md5sum, | |||
| compilerVersion, | |||
| resultsFileName, | |||
| filePath, | |||
| fileName | |||
| ) |
Definition at line 193 of file test-lz4-speed.py.
References benchmark_and_compare(), and get_last_results().
Referenced by test_commit().
| def test-lz4-speed.execute | ( | command, | |
print_command = True, |
|||
print_output = False, |
|||
print_error = True, |
|||
param_shell = True |
|||
| ) |
Definition at line 48 of file test-lz4-speed.py.
Referenced by benchmark_and_compare(), does_command_exist(), git_get_branches(), git_get_changes(), send_email(), send_email_with_attachments(), and test_commit().
Definition at line 125 of file test-lz4-speed.py.
References float, int, and len.
Referenced by benchmark_and_compare(), and double_check().
Definition at line 116 of file test-lz4-speed.py.
References execute(), and cmd_descs_generate.str.
Definition at line 37 of file test-lz4-speed.py.
Referenced by test_commit().
Definition at line 44 of file test-lz4-speed.py.
Definition at line 76 of file test-lz4-speed.py.
References execute().
| def test-lz4-speed.send_email_with_attachments | ( | branch, | |
| commit, | |||
| last_commit, | |||
| args, | |||
| text, | |||
| results_files, | |||
| logFileName, | |||
| have_mutt, | |||
| have_mail | |||
| ) |
| def test-lz4-speed.test_commit | ( | branch, | |
| commit, | |||
| last_commit, | |||
| args, | |||
| testFilePaths, | |||
| have_mutt, | |||
| have_mail | |||
| ) |
Definition at line 203 of file test-lz4-speed.py.
References double_check(), execute(), hashfile(), and send_email_with_attachments().
Definition at line 182 of file test-lz4-speed.py.
| test-lz4-speed.action |
Definition at line 253 of file test-lz4-speed.py.
Referenced by _server_handle_vCont(), actions2mask(), alone_decode(), alone_encode(), apprentice_1(), apprentice_load(), auto_decode(), block_decode(), block_encode(), coder_loop(), coder_normal(), compress(), copy_or_code(), decompress(), delta_decode(), delta_encode(), encode(), file_apprentice(), fill_window(), get_bin_info(), getstr(), getvalue(), handle_socket(), load_1(), load_b(), lz_decode(), lz_encode(), LZMA_API(), main(), parse(), parser__advance(), parser__do_potential_reductions(), rz_debug_kill_setup(), rz_main_rz_bin(), simple_code(), stack__iter(), stream_decode(), stream_encode(), stream_encode_in(), stream_encode_mt(), tar(), ts_language_next_state(), ts_parser__advance(), ts_parser__do_all_potential_reductions(), ts_query__analyze_patterns(), ts_reduce_action_set_add(), uncompress(), worker_encode(), xz_compress(), and xz_decompress().
| test-lz4-speed.args = None |
Definition at line 34 of file test-lz4-speed.py.
| string test-lz4-speed.branch = "" |
Definition at line 317 of file test-lz4-speed.py.
Referenced by anop32(), bf_rlimit(), decode_known(), i8080_disasm(), INST_HANDLER(), pic_midrange_disassemble(), print_mips16_insn_arg(), rz_il_op_effect_free(), and rz_il_op_new_branch().
| def test-lz4-speed.branches = git_get_branches() |
Definition at line 330 of file test-lz4-speed.py.
Definition at line 32 of file test-lz4-speed.py.
| string test-lz4-speed.clone_path = working_path + '/' + 'lz4' |
Definition at line 28 of file test-lz4-speed.py.
Definition at line 318 of file test-lz4-speed.py.
| test-lz4-speed.cwd |
Definition at line 300 of file test-lz4-speed.py.
Referenced by getcommapath(), main(), path_search_walk_ext(), rz_cmd_shell_cd_handler(), rz_cmd_shell_pwd_handler(), rz_comment_filelink_handler(), rz_file_abspath(), rz_file_abspath_rel(), rz_test_chdir_fromtest(), rz_test_main(), search_path(), search_path_join_test(), uv_fs_event_start(), uv_spawn(), and visual_comma().
| test-lz4-speed.default |
Definition at line 245 of file test-lz4-speed.py.
Referenced by d68020_cpgen(), ExtReadWrite_image(), fullSpeedBench(), get_ext_suffix(), and main().
| string test-lz4-speed.default_repo_url = 'https://github.com/lz4/lz4.git' |
Definition at line 25 of file test-lz4-speed.py.
| test-lz4-speed.dest |
Definition at line 253 of file test-lz4-speed.py.
| string test-lz4-speed.email_header = 'lz4_speedTest' |
Definition at line 29 of file test-lz4-speed.py.
Definition at line 345 of file test-lz4-speed.py.
| test-lz4-speed.fileName = os.path.expanduser(fileName) |
Definition at line 262 of file test-lz4-speed.py.
Referenced by __already_loaded(), fileCheck(), GetSystemModules(), DotZLib.GZipStream.GZipStream(), and loadFile().
Definition at line 319 of file test-lz4-speed.py.
| test-lz4-speed.float |
Definition at line 247 of file test-lz4-speed.py.
Referenced by benchmark_and_compare(), cmd_prc(), format_output(), get_last_results(), getvalue(), mprint(), rz_str_scale(), test-lz4-list.TestNonVerbose.test_ratio(), and test-lz4-list.TestVerbose.test_ratio().
Definition at line 33 of file test-lz4-speed.py.
| def test-lz4-speed.have_mail = does_command_exist("mail -V") |
Definition at line 271 of file test-lz4-speed.py.
| def test-lz4-speed.have_mutt = does_command_exist("mutt -h") |
Definition at line 270 of file test-lz4-speed.py.
| test-lz4-speed.help | ( | void | ) |
Definition at line 243 of file test-lz4-speed.py.
| test-lz4-speed.int |
Definition at line 250 of file test-lz4-speed.py.
Referenced by get_last_results().
| def test-lz4-speed.last_commit = update_config_file(branch, commit) |
Definition at line 333 of file test-lz4-speed.py.
| test-lz4-speed.loadavg = os.getloadavg()[0] |
Definition at line 328 of file test-lz4-speed.py.
Referenced by uv_loadavg().
| test-lz4-speed.parser = argparse.ArgumentParser() |
Definition at line 242 of file test-lz4-speed.py.
Definition at line 30 of file test-lz4-speed.py.
| string test-lz4-speed.pidfile = "./speedTest.pid" |
Definition at line 308 of file test-lz4-speed.py.
| string test-lz4-speed.script_version = 'v1.7.2 (2016-11-08)' |
Definition at line 24 of file test-lz4-speed.py.
| test-lz4-speed.stack = traceback.format_exc() |
Definition at line 344 of file test-lz4-speed.py.
| test-lz4-speed.testFileNames = args.testFileNames.split() |
Definition at line 259 of file test-lz4-speed.py.
Definition at line 260 of file test-lz4-speed.py.
| test-lz4-speed.type |
Definition at line 247 of file test-lz4-speed.py.
Definition at line 31 of file test-lz4-speed.py.
| string test-lz4-speed.working_dir_name = 'speedTest' |
Definition at line 26 of file test-lz4-speed.py.
| string test-lz4-speed.working_path = os.getcwd() + '/' + working_dir_name |
Definition at line 27 of file test-lz4-speed.py.