mirror of
https://github.com/radareorg/r2ghidra.git
synced 2026-11-07 06:25:57 -10:00
Release 6.0.7
This commit is contained in:
1 parent
e039d96a6b
commit
cd08c89389
7 files changed
+24
-14
No files matched your search
@@ -1,7 +1,7 @@
|
||||
name: ci
|
||||
|
||||
env:
|
||||
R2V: 6.0.6
|
||||
R2V: 6.0.7
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef CUSTOM_ASSERT_H
|
||||
#define CUSTOM_ASSERT_H 1
|
||||
|
||||
#define assert(x) if ((x)) {}
|
||||
|
||||
#endif
|
||||
@@ -126,12 +126,12 @@ done
|
||||
: ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s}
|
||||
: ${INSTALL_MAN:=${INSTALL} -m 444}
|
||||
: ${INSTALL_LIB:=${INSTALL} -m 755 -c}
|
||||
PKGNAME='r2ghidra' ; VERSION='6.0.6' ; VERSION_MAJOR=6; VERSION_MINOR=0; VERSION_PATCH=6; VERSION_NUMBER=60006; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ;
|
||||
PKGNAME='r2ghidra' ; VERSION='6.0.7' ; VERSION_MAJOR=6; VERSION_MINOR=0; VERSION_PATCH=7; VERSION_NUMBER=60007; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ;
|
||||
}
|
||||
|
||||
show_usage() {
|
||||
cat <<EOF2
|
||||
'configure' configures r2ghidra-6.0.6 to adapt to many kinds of systems.
|
||||
'configure' configures r2ghidra-6.0.7 to adapt to many kinds of systems.
|
||||
|
||||
Usage: ./configure [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@@ -203,10 +203,10 @@ ocho() {
|
||||
|
||||
show_version() {
|
||||
if [ "$QUIET" = 1 ]; then
|
||||
echo "6.0.6"
|
||||
echo "6.0.7"
|
||||
exit 0
|
||||
fi
|
||||
echo "r2ghidra-6.0.6 configuration script done with acr v2.2.4.
|
||||
echo "r2ghidra-6.0.7 configuration script done with acr v2.2.4.
|
||||
The 'Free Software Foundation' message is only for autodetection.
|
||||
Originally written by pancake <nopcode.org>."
|
||||
exit 0
|
||||
@@ -235,7 +235,7 @@ case $flag in
|
||||
show_version ; ;;
|
||||
-r|--r|--report)
|
||||
echo "PKGNAME: r2ghidra"
|
||||
echo "VERSION: 6.0.6"
|
||||
echo "VERSION: 6.0.7"
|
||||
echo "AUTHOR: pancake"
|
||||
echo "EMAIL: [email protected]"
|
||||
echo "LANGS: c++"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
PKGNAME r2ghidra
|
||||
VERSION 6.0.6
|
||||
VERSION 6.0.7
|
||||
CONTACT pancake ; [email protected]
|
||||
|
||||
LANG_CXX!
|
||||
|
||||
+5
-2
@@ -3,10 +3,11 @@ project(
|
||||
['c', 'cpp'],
|
||||
license : 'LGPL3',
|
||||
meson_version : '>=0.50.1',
|
||||
version : '6.0.6',
|
||||
version : '6.0.7',
|
||||
default_options : ['c_std=c11', 'cpp_std=c++14']
|
||||
)
|
||||
|
||||
|
||||
r2ghidra_sources = [
|
||||
'src/R2Architecture.cpp',
|
||||
'src/R2LoadImage.cpp',
|
||||
@@ -44,6 +45,7 @@ if cpp.get_id() == 'msvc'
|
||||
add_global_arguments('-D_WINDOWS', language:'cpp')
|
||||
add_global_arguments('-D_WIN32', language:'cpp')
|
||||
add_global_arguments('-DZLIB_WINAPI', language:'cpp')
|
||||
add_global_arguments('/wd4200', language:'cpp') # Suppress C4200: zero-sized array in struct
|
||||
r2libdir = [
|
||||
meson.current_source_dir() + '\\radare2\\lib',
|
||||
'C:\\radare2\\lib'
|
||||
@@ -75,6 +77,8 @@ r_version_h = configure_file(
|
||||
configuration: versionconf
|
||||
)
|
||||
|
||||
add_global_arguments('-DNDEBUG', language: ['c', 'cpp'])
|
||||
|
||||
r2ghidra_incdirs = include_directories(incdirs)
|
||||
|
||||
zlib = dependency('zlib', version : '>=1.2.8', required: false)
|
||||
@@ -118,4 +122,3 @@ r2ghidra_core_plugin = shared_library('core_r2ghidra',
|
||||
install: true,
|
||||
install_dir: r2_plugdir
|
||||
)
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <coreaction.hh>
|
||||
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
using namespace ghidra;
|
||||
|
||||
|
||||
+6
-4
@@ -3,13 +3,13 @@
|
||||
#include "RCoreMutex.h"
|
||||
#include <r_cons.h>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
RCoreMutex::RCoreMutex(RCore *core) : caffeine_level(1), bed(nullptr), _core(core) {
|
||||
}
|
||||
|
||||
void RCoreMutex::sleepEnd() {
|
||||
assert(caffeine_level >= 0);
|
||||
if (caffeine_level < 0) {
|
||||
return;
|
||||
}
|
||||
caffeine_level++;
|
||||
if (caffeine_level == 1) {
|
||||
#if R2_VERSION_NUMBER >= 50909
|
||||
@@ -29,7 +29,9 @@ void RCoreMutex::sleepEndForce() {
|
||||
}
|
||||
|
||||
void RCoreMutex::sleepBegin() {
|
||||
assert (caffeine_level > 0);
|
||||
if (caffeine_level <= 0) {
|
||||
return;
|
||||
}
|
||||
caffeine_level--;
|
||||
if (caffeine_level == 0) {
|
||||
#if R2_VERSION_NUMBER >= 50909
|
||||
|
||||
Reference in new issue
Block a user