rizin/test/db
Quentin Minster b82215965e
Refactor pointer write command * to use the API (#3793)
* Add tests for pointer write command `*`

Some test cases override `asm.arch` for bitness compatibility reasons.

* Refactor pointer write command `*` to use the API

* Allow use of more general exprs as value for pointer write command `*` ##shell

* Instead of detecting when to write a value, and write a hexpair
  otherwise, do the inverse: detect when to write a hexpair, and write a
  value otherwise. This allows more general value exprs such as
  variables, derefs, ...

* To enable this, add an option to `rz_hex_str_is_valid` so it can
  reject a 0x-prefixed string (because 0x-prefixed strings should be
  handled as values, not hexpairs, by the pointer write command)

* Add a test case to ensure a non-0x-prefixed value arg, that's not a
  valid hexpair, now gets eval'ed as an expr by the pointer write
  command (where previously it would throw an error)
2023-08-26 23:40:31 +08:00
..
abi DWARF improve DWARF5 support and refactor 2023-08-25 23:32:05 +08:00
analysis DWARF improve DWARF5 support and refactor 2023-08-25 23:32:05 +08:00
archos Make rz_core_analysis_var_display work with stack vars when debugging (#3687) 2023-07-28 01:40:22 +08:00
asm arm: use cortexm cpu instead of cortex (#3674) 2023-07-20 16:20:04 +08:00
cmd Refactor pointer write command * to use the API (#3793) 2023-08-26 23:40:31 +08:00
esil Fix tests for capstone v3/v4/v5 2023-07-16 13:22:47 +08:00
extras Rename asm.dwarf* to asm.debuginfo* (#3513) 2023-05-16 10:55:18 +08:00
formats DWARF improve DWARF5 support and refactor 2023-08-25 23:32:05 +08:00
io Convert ps to newshell (#3451) 2023-04-06 08:43:04 +08:00
json Replace rz_core_cmd0 calls in tui/panels.c and port cmd_help commands to RzShell as cmd_math (#3421) 2023-03-30 18:36:48 +08:00
rzil DWARF improve DWARF5 support and refactor 2023-08-25 23:32:05 +08:00
tools Add SM3 hash (#3769) 2023-08-17 21:59:06 +08:00