File tree Expand file tree Collapse file tree 9 files changed +3858
-0
lines changed
Expand file tree Collapse file tree 9 files changed +3858
-0
lines changed Original file line number Diff line number Diff line change 1+ # Prerequisites
2+ * .d
3+
4+ # Compiled Object files
5+ * .slo
6+ * .lo
7+ * .o
8+ * .obj
9+
10+ # Precompiled Headers
11+ * .gch
12+ * .pch
13+
14+ # Compiled Dynamic libraries
15+ * .so
16+ * .dylib
17+ * .dll
18+
19+ # Fortran module files
20+ * .mod
21+ * .smod
22+
23+ # Compiled Static libraries
24+ * .lai
25+ * .la
26+ * .a
27+ * .lib
28+
29+ # Executables
30+ * .exe
31+ * .out
32+ * .app
33+
34+ CMakeLists.txt.user
35+ CMakeCache.txt
36+ CMakeFiles
37+ CMakeScripts
38+ Testing
39+ Makefile
40+ cmake_install.cmake
41+ install_manifest.txt
42+ compile_commands.json
43+ CTestTestfile.cmake
44+ _deps
45+
46+ api /
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.9 FATAL_ERROR)
2+
3+ project (arch_arcompact)
4+
5+ file (GLOB SOURCES
6+ *.cpp
7+ *.h
8+ arcompact/*.cpp
9+ arcompact/*.h)
10+
11+ add_library (${PROJECT_NAME} SHARED ${SOURCES} )
12+
13+ find_path (
14+ BN_API_PATH
15+ NAMES binaryninjaapi.h
16+ HINTS ../.. binaryninjaapi $ENV{BN_API_PATH}
17+ REQUIRED
18+ )
19+ add_subdirectory (${BN_API_PATH} api)
20+
21+ target_include_directories (${PROJECT_NAME}
22+ PRIVATE ${PROJECT_SOURCE_DIR}
23+ PRIVATE ${PROJECT_SOURCE_DIR} /arcompact)
24+
25+ target_link_libraries (${PROJECT_NAME} binaryninjaapi)
26+
27+ set_target_properties (${PROJECT_NAME} PROPERTIES
28+ CXX_STANDARD 17
29+ CXX_VISIBILITY_PRESET hidden
30+ CXX_STANDARD_REQUIRED ON
31+ C_STANDARD 99
32+ C_STANDARD_REQUIRED ON
33+ C_VISIBILITY_PRESET hidden
34+ VISIBILITY_INLINES_HIDDEN ON
35+ POSITION_INDEPENDENT_CODE ON )
36+
37+ bn_install_plugin(${PROJECT_NAME} )
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ # ARCompact architecture plugin
2+
3+ _ A Binary Ninja architecture plugin for the ARCompact architecture._
4+
5+
6+ ## License
7+
8+ This plugin is released under an [ GPL 3.0 license] ( ./license ) .
You can’t perform that action at this time.
0 commit comments