Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.3.2 #3246

Merged
merged 5 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.3.1-git-{build}'
version: '2.3.2-git-{build}'
image: 'Visual Studio 2017'
clone_depth: 1

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endif()

set(CUTTER_VERSION_MAJOR 2)
set(CUTTER_VERSION_MINOR 3)
set(CUTTER_VERSION_PATCH 1)
set(CUTTER_VERSION_PATCH 2)

set(CUTTER_VERSION "${CUTTER_VERSION_MAJOR}.${CUTTER_VERSION_MINOR}.${CUTTER_VERSION_PATCH}")

Expand Down
2 changes: 1 addition & 1 deletion dist/bundle_jsdec.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $dist = $args[0]
$python = Split-Path((Get-Command python.exe).Path)

if (-not (Test-Path -Path 'jsdec' -PathType Container)) {
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch master
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.6.0"
}
cd jsdec
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS -Djsc_folder=".." --prefix="$dist" p build
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = '2.3'
# The full version, including a2lpha/beta/rc tags
release = '2.3.1'
release = '2.3.2'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion rizin
Submodule rizin updated 82 files
+1 −0 .builds/netbsd.yml
+2 −2 DEVELOPERS.md
+91 −92 binrz/man/rizin.1
+72 −65 binrz/man/rz-diff.1
+2 −2 doc/debug.md
+23 −23 doc/hud
+17 −6 librz/analysis/arch/ppc/ppc_il_ops.c
+1 −1 librz/analysis/op.c
+1 −1 librz/analysis/p/analysis_mips_gnu.c
+1 −0 librz/asm/aop.c
+4 −0 librz/bin/format/elf/elf_relocs.c
+4 −1 librz/bin/format/mach0/mach0_relocs.c
+1 −0 librz/bin/format/pyc/marshal.c
+2 −2 librz/bin/format/xnu/scripts/machtraps.py
+3 −0 librz/core/canalysis.c
+1 −1 librz/core/cautocmpl.c
+0 −1 librz/core/cbin.c
+1 −1 librz/core/cconfig.c
+2 −2 librz/core/cfile.c
+22 −5 librz/core/cmd/cmd.c
+2 −0 librz/core/cmd/cmd_eval.c
+34 −46 librz/core/cmd/cmd_math.c
+65 −32 librz/core/cmd/cmd_print.c
+3 −1 librz/core/cmd/cmd_regs.c
+19 −8 librz/core/cmd/cmd_seek.c
+1 −1 librz/core/cmd_descs/cmd_debug.yaml
+108 −107 librz/core/cmd_descs/cmd_descs.c
+4 −4 librz/core/cmd_descs/cmd_descs.h
+2 −2 librz/core/cmd_descs/cmd_descs.yaml
+93 −99 librz/core/cmd_descs/cmd_math.yaml
+2 −5 librz/core/cmd_descs/cmd_shell.yaml
+2 −13 librz/core/core.c
+1 −1 librz/core/disasm.c
+1 −1 librz/core/tui/config.c
+2 −2 librz/core/tui/define.c
+13 −5 librz/core/tui/panels.c
+1 −1 librz/core/tui/vasm.c
+5 −2 librz/core/tui/visual.c
+1 −1 librz/core/tui/vmenus_graph.c
+1 −1 librz/debug/p/native/bsd/bsd_debug.c
+3 −1 librz/il/theory_effect.c
+0 −14 librz/include/rz_egg.h
+1 −1 librz/main/rz-diff.c
+2 −3 librz/reg/profile.c
+1 −0 librz/reg/reg.c
+7 −2 librz/socket/run.c
+0 −56 librz/syscall/d/linux-arm-64.sdb.txt
+2 −2 librz/type/format.c
+1 −1 meson.build
+1 −1 snapcraft.yaml
+1 −1 subprojects/capstone-next.wrap
+5 −5 subprojects/capstone-v5.wrap
+1 −1 subprojects/libdemangle.wrap
+1 −1 subprojects/packagefiles/capstone-5.0.1/meson.build
+18 −10 subprojects/packagefiles/zlib-1.3/meson.build
+5 −5 subprojects/rizin-shell-parser/corpus/cmd_substitution.txt
+3 −3 subprojects/rizin-shell-parser/corpus/comments.txt
+2 −2 subprojects/rizin-shell-parser/corpus/escape_args.txt
+3 −3 subprojects/rizin-shell-parser/corpus/grep_commands.txt
+2 −2 subprojects/rizin-shell-parser/corpus/iter_commands.txt
+7 −7 subprojects/rizin-shell-parser/corpus/quoted_args.txt
+25 −11 subprojects/rizin-shell-parser/corpus/simple_commands.txt
+1 −1 subprojects/rizin-shell-parser/corpus/special_commands.txt
+5 −6 subprojects/rizin-shell-parser/src/scanner.c
+6 −6 subprojects/zlib.wrap
+12 −2 sys/syscall_preprocessing.py
+15 −0 test/db/analysis/arm64
+8 −1 test/db/analysis/golang
+2 −2 test/db/analysis/tricore
+10 −0 test/db/archos/linux-x64/dbg
+1 −1 test/db/archos/not-windows-any/cmd_interpreter
+3 −3 test/db/cmd/cmd_pipe
+18 −0 test/db/cmd/cmd_pointer
+16 −0 test/db/cmd/cmd_seek
+1 −1 test/db/cmd/feat_input
+1 −1 test/db/tools/rz
+3 −0 test/integration/test_analysis_global_var.c
+2 −2 test/notworking_db/darwin-x64/dbg
+2 −2 test/notworking_db/darwin-x64/dbg_cmdbps
+2 −2 test/notworking_db/darwin-x64/dbg_dcu
+2 −2 test/notworking_db/darwin-x64/dbg_step
+1 −1 test/scripts/rztest.spp
2 changes: 1 addition & 1 deletion scripts/jsdec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."

if [[ ! -d jsdec ]]; then
git clone https://github.com/rizinorg/jsdec.git --depth 2 --branch master
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch "v0.6.0"
fi

cd jsdec
Expand Down
18 changes: 13 additions & 5 deletions src/common/CutterSeekable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,26 @@ void CutterSeekable::seekToReference(RVA offset)
return;
}

RVA target;
QList<XrefDescription> refs = Core()->getXRefs(offset, false, false);

if (refs.length()) {
if (refs.length() > 1) {
qWarning() << tr("More than one (%1) references here. Weird behaviour expected.")
.arg(refs.length());
}

target = refs.at(0).to;
if (target != RVA_INVALID) {
seek(target);
// Try first call
for (auto &ref : refs) {
if (ref.to != RVA_INVALID && ref.type == "CALL") {
seek(ref.to);
return;
}
}
// Fallback to first valid, if any
for (auto &ref : refs) {
if (ref.to != RVA_INVALID) {
seek(ref.to);
return;
}
}
}
}
1 change: 1 addition & 0 deletions src/re.rizin.cutter.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<update_contact>xarkes</update_contact>

<releases>
<release version="2.3.2" date="2023-09-14" />
<release version="2.3.1" date="2023-08-20" />
<release version="2.3.0" date="2023-08-05" />
<release version="2.2.1" date="2023-05-15" />
Expand Down
2 changes: 1 addition & 1 deletion src/translations
Loading