rizin/test/integration
Florian Märkl d9950f7479
Replace bp/sp-vars by generic stack-based ones (#3167)
Variables on the stack are not identified by bp/sp+<offset> anymore, but
by their address from the bottom of the stack frame (RzStackAddr),
independent of how they are accessed.
So now there are only two kinds of variables: stack and register.

This required some major refactoring and other changes:
* RzAnalysisVar.isarg was removed. Whether a variable is an argument is
  now specified implicitly by its storage location.
* Varsub of struct fields had to be rewritten so fields can be queried
  by arbitrary stack addresses using the recently introduced sp
  tracking, as the old approach to fill a list with all fields would not
  work anymore.
* analysis.vars.stackname was removed, new behavior is more similar to
  this being true before.
* Variables will not be created at stack+0 now, because the return
  address is there. Before, vars were only created sometimes in such
  cases.
* Variables created from bp offsets in x86 are not deleted anymore if
  the function's bp_frame is false (see removed
  rz_analysis_function_delete_vars_by_kind(fcn,
  RZ_ANALYSIS_VAR_KIND_BPV); calls). This may lead to some
  false-positive detected variables. Whether this really is a practical
  issue is yet to be seen. At least there are no meaningful tests that
  are broken by this.
* Applying variables from dwarf needed some fixes for determining the
  correct stack locations of variables in order to write meaningful
  tests. The handling is still not entirely correct for all
  possibilities of dwarf info, but at least the changed/added test cases
  are right and serve as a reference for future changes.
* Projects version 11 is introduced.
* afvb commands have been removed, afvs now handles all stack vars.
2023-01-02 11:36:21 +08:00
..
meson.build Refactor rz_core_analysis_graph*() functions (#2949) 2022-08-29 22:48:23 +08:00
test_analysis_global_var.c test: allow to run unit tests without installation 2022-05-10 16:57:44 +02:00
test_analysis_graph.c Refactor rz_core_analysis_graph*() functions (#2949) 2022-08-29 22:48:23 +08:00
test_analysis_il.c [RzIL] Rewrite RzAnalysisRzil as RzAnalysisILVM with config 2022-01-17 16:50:40 +01:00
test_autocmplt.c Fixing some Coverity issues (#3261) 2022-12-31 16:57:19 +08:00
test_basefind.c Add RzBaseFindOpt for custom thread status callback (#2768) 2022-07-06 11:34:00 +02:00
test_bin.c Add RzBinStrDb and api to interact with it via rz_bin_object_string_* (#2754) 2022-07-01 06:34:41 +08:00
test_bin_vfiles.c Fixed build warning (#1832) 2021-10-13 17:38:08 +02:00
test_config.h.in Split unit and integration tests 2022-03-23 10:34:53 +01:00
test_cpu_platform_profiles.c test: Use rz_file_tmpdir to have temporary dir 2022-07-17 12:11:13 +02:00
test_dwarf.c Remove cb_printf() from RzBin (#2446) 2022-03-26 20:30:55 +08:00
test_dwarf_info.c Remove cb_printf() from RzBin (#2446) 2022-03-26 20:30:55 +08:00
test_dwarf_integration.c Remove cb_printf() from RzBin (#2446) 2022-03-26 20:30:55 +08:00
test_open_analyse_save_load_project.c test: Use rz_file_tmpdir to have temporary dir 2022-07-17 12:11:13 +02:00
test_pdb.c Split unit and integration tests 2022-03-23 10:34:53 +01:00
test_project_migrate.c Replace bp/sp-vars by generic stack-based ones (#3167) 2023-01-02 11:36:21 +08:00
test_rzpipe.c Split unit and integration tests 2022-03-23 10:34:53 +01:00
test_types.h Split unit and integration tests 2022-03-23 10:34:53 +01:00