angr / pyvex

Python bindings for Valgrind's VEX IR.
BSD 2-Clause "Simplified" License
343 stars 116 forks source link

Refactor PyVEX to pass lint #294

Closed twizmwazin closed 1 year ago

twizmwazin commented 1 year ago

Depends on angr/archinfo#131 angr/angr-doc#453

github-actions[bot] commented 1 year ago

Unit Test Results

   103 files  +     93     103 suites  +93   1h 39m 4s :stopwatch: + 1h 38m 47s 1 299 tests +1 241  1 260 :heavy_check_mark: +1 202  39 :zzz: +39  0 :x: ±0  1 305 runs  +1 247  1 266 :heavy_check_mark: +1 208  39 :zzz: +39  0 :x: ±0 

Results for commit 300bbff7. ± Comparison against base commit a973dc64.

This pull request removes 38 and adds 1279 tests. Note that renamed tests count towards both. ``` test.TestPyvex ‑ test_ircallee test.TestPyvex ‑ test_irconst test.TestPyvex ‑ test_irexpr_binder test.TestPyvex ‑ test_irexpr_binop test.TestPyvex ‑ test_irexpr_ccall test.TestPyvex ‑ test_irexpr_const test.TestPyvex ‑ test_irexpr_get test.TestPyvex ‑ test_irexpr_geti test.TestPyvex ‑ test_irexpr_ite test.TestPyvex ‑ test_irexpr_load … ``` ``` analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_add_transitions_updates_the_slice analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_get_entrypoints_from_slice analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_get_transitions_from_slice analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_nodes analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_path_between_deals_with_loops analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_path_between_returns_True_only_if_there_exists_at_least_a_path_between_two_nodes_in_the_slice analyses.cfg_slice_to_sink.test_cfg_slice_to_sink.TestCFGSliceToSink ‑ test_transitions_as_tuples analyses.cfg_slice_to_sink.test_graph.TestGraph ‑ test_slice_callgraph_mutates_the_original_graph analyses.cfg_slice_to_sink.test_graph.TestGraph ‑ test_slice_callgraph_remove_content_not_in_a_cfg_slice_to_sink analyses.cfg_slice_to_sink.test_graph.TestGraph ‑ test_slice_cfg_graph_mutates_the_original_graph … ```

:recycle: This comment has been updated with latest results.