Skip to content

Commit

Permalink
Instruct via acr that r2 is mandatory to build r2frida
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored and trufae committed Feb 27, 2024
1 parent 9e6d2fd commit e2e371b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# This script was automatically generated by ACR v2.1.1
# This script was automatically generated by ACR v2.1.2
# @author: pancake <nopcode.org>
# @url: http://www.nopcode.org
# @repo: git clone https://github.com/radare/acr
Expand Down Expand Up @@ -93,8 +93,8 @@ create_environ() {
: ${SBINDIR:="${PREFIX}/sbin"}
: ${ETCDIR:="${SPREFIX}/etc"}
: ${LIBDIR:="${SPREFIX}/lib"}
: ${PKGCFG_LIBDIR:="\${exec_prefix}/lib"}
: ${PKGCFG_INCDIR:="\${prefix}/include"}
: ${PKGCFG_LIBDIR:='${exec_prefix}/lib'}
: ${PKGCFG_INCDIR:='${prefix}/include'}
: ${LIBEXECDIR:="${SPREFIX}/libexec"}
: ${INCLUDEDIR:="${SPREFIX}/include"}
: ${DATADIR:="${SPREFIX}/share"}
Expand Down Expand Up @@ -203,7 +203,7 @@ if [ "$QUIET" = 1 ]; then
echo "5.8.8"
exit 0
fi
echo "r2frida-5.8.8 configuration script done with acr v2.1.1.
echo "r2frida-5.8.8 configuration script done with acr v2.1.2.
The 'Free Software Foundation' message is only for autodetection.
Originally written by pancake <nopcode.org>."
exit 0
Expand Down Expand Up @@ -371,6 +371,7 @@ if [ $? = 0 ]; then
else
R2_VERSION=""
echo "not found"
echo 'required'; exit 1
fi
if [ -z "${PKGCONFIG}" ]; then pkg-config --version >/dev/null 2>&1 ; if [ 0 = 0 ]; then PKGCONFIG=pkg-config ; else PKGCONFIG=pkgconf ; fi; fi
type ${PKGCONFIG} > /dev/null 2>&1 || echo "ERROR: Cannot find valid PKGCONFIG, pkg-config or pkgconf in PATH"
Expand Down
4 changes: 2 additions & 2 deletions configure.acr
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PKGNAME r2frida
VERSION 5.8.8
VERSION 5.8.9
CONTACT pancake ; [email protected]

USE_PKGCONFIG!

LANG_C!

EXEC R2_VERSION r2 -v ;
EXEC! R2_VERSION r2 -v ;

ARG_WITH PRECOMPILED_AGENT precompiled-agent do not require node/npm ;

Expand Down
2 changes: 1 addition & 1 deletion make.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal EnableDelayedExpansion
set frida_version=16.2.0
set r2frida_version=5.8.8
set r2frida_version=5.8.9
if "%PLATFORM%" == "x64" (set frida_os_arch=x86_64) else (set frida_os_arch=x86)
set DEBUG=/O2

Expand Down
2 changes: 1 addition & 1 deletion src/agent/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface R2FridaPlugin {
}

export const r2frida: R2FridaPlugin = {
version: "5.8.8",
version: "5.8.9",
commandHandler: commandHandler,
pluginRegister: pluginRegister,
pluginUnregister: pluginUnregister,
Expand Down

0 comments on commit e2e371b

Please sign in to comment.