mirror of
https://github.com/radareorg/r2ghidra.git
synced 2026-11-07 06:25:57 -10:00
More ghidra/ghidra/Ghidra -> ghidra-native
This commit is contained in:
1 parent
d351df7fc5
commit
53944f2066
3 files changed
+5
-12
No files matched your search
@@ -74,7 +74,7 @@ jobs:
|
||||
- name: Installing Radare2
|
||||
run: sudo dpkg -i radare2/dist/debian/*/*.deb
|
||||
- name: Building r2ghidra with cmake
|
||||
run: git submodule update --init ; make ghidra/ghidra/Ghidra ; mkdir build && cd build && cmake .. && make -j4 && sudo make install
|
||||
run: git submodule update --init ; make ghidra-native ; mkdir build && cd build && cmake .. && make -j4 && sudo make install
|
||||
- name: Packaging r2ghidra for Debian
|
||||
run: make -C dist/debian
|
||||
- name: Testing r2ghidra oneliner
|
||||
@@ -151,7 +151,7 @@ jobs:
|
||||
set PATH=%CD%\radare2\bin;%PATH%
|
||||
set ARCH=x64
|
||||
git submodule update --init
|
||||
make ghidra/ghidra/Ghidra
|
||||
make ghidra-native
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
mkdir destdir build
|
||||
cd build
|
||||
|
||||
@@ -4,7 +4,7 @@ DESTDIR?=
|
||||
GHIDRA_NATIVE_COMMIT=7c76f1f9544f7064c3d7deb73a4eaa5b844aea2d
|
||||
|
||||
ifeq ($(shell test -f config.mk && echo $$?),0)
|
||||
all: ghidra-native/.patched ghidra-processors.txt
|
||||
all: ghidra-native ghidra-processors.txt
|
||||
$(MAKE) -C src
|
||||
$(MAKE) -C src sleigh-build
|
||||
else
|
||||
@@ -22,7 +22,7 @@ purge: clean
|
||||
ghidra-processors.txt:
|
||||
cp -f ghidra-processors.txt.default ghidra-processors.txt
|
||||
|
||||
asan: ghidra/ghidra/Ghidra ghidra-processors.txt
|
||||
asan: ghidra-native ghidra-processors.txt
|
||||
#touch ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/*.cc src/*.cpp
|
||||
touch src/*.cpp
|
||||
CFLAGS="-fsanitize=address -g" $(MAKE) -C src -j
|
||||
@@ -76,16 +76,9 @@ gclean:
|
||||
ghidra-native:
|
||||
git clone https://github.com/radareorg/ghidra-native
|
||||
cd ghidra-native && git reset --hard $(GHIDRA_NATIVE_COMMIT)
|
||||
|
||||
ghidra-native/.patched: ghidra-native
|
||||
$(MAKE) -C ghidra-native patch
|
||||
touch ghidra-native/.patched
|
||||
|
||||
# mkdir -p ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp
|
||||
# cp -rf ghidra-native/src/decompiler/* ghidra/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp
|
||||
# mkdir -p ghidra/ghidra/Ghidra/Processors
|
||||
# cp -rf ghidra-native/src/Processors/* ghidra/ghidra/Ghidra/Processors/
|
||||
|
||||
mrproper: clean
|
||||
git submodule deinit --all -f
|
||||
|
||||
|
||||
+1
-1
@@ -3,6 +3,6 @@ set PATH=%CD%\radare2\bin;%PATH%
|
||||
set ARCH=x64
|
||||
git submodule update --init
|
||||
|
||||
make ghidra/ghidra/Ghidra
|
||||
make ghidra-native
|
||||
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
Reference in new issue
Block a user