summaryrefslogtreecommitdiffhomepage
path: root/src/cmds
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds')
-rw-r--r--src/cmds/pe_cmd_ar.c2
-rw-r--r--src/cmds/pe_cmd_nm.c15
-rw-r--r--src/cmds/pe_cmd_perk.c3
-rw-r--r--src/cmds/pe_cmd_ranlib.c15
-rw-r--r--src/cmds/pe_cmd_size.c15
-rw-r--r--src/cmds/pe_cmd_strings.c15
-rw-r--r--src/cmds/pe_cmd_strip.c15
7 files changed, 78 insertions, 2 deletions
diff --git a/src/cmds/pe_cmd_ar.c b/src/cmds/pe_cmd_ar.c
index 97e94c7..59d414f 100644
--- a/src/cmds/pe_cmd_ar.c
+++ b/src/cmds/pe_cmd_ar.c
@@ -9,8 +9,6 @@
#include "perk_errinfo_impl.h"
#include "perk_ar_impl.h"
-int pe_ar_list_members(const struct pe_archive_meta *, const char **);
-
static int pe_cmd_ar_perform_unit_actions(
const struct pe_driver_ctx * dctx,
const char * arname,
diff --git a/src/cmds/pe_cmd_nm.c b/src/cmds/pe_cmd_nm.c
new file mode 100644
index 0000000..87736ea
--- /dev/null
+++ b/src/cmds/pe_cmd_nm.c
@@ -0,0 +1,15 @@
+/***************************************************************/
+/* perk: PE Resource Kit */
+/* Copyright (C) 2015--2025 SysDeer Technologies, LLC */
+/* Released under GPLv2 and GPLv3; see COPYING.PERK. */
+/***************************************************************/
+
+#include <perk/perk.h>
+#include "perk_driver_impl.h"
+
+int pe_cmd_nm(const struct pe_driver_ctx * dctx, const char * path)
+{
+ (void)dctx;
+ (void)path;
+ return 0;
+}
diff --git a/src/cmds/pe_cmd_perk.c b/src/cmds/pe_cmd_perk.c
index bdb6364..37b80ee 100644
--- a/src/cmds/pe_cmd_perk.c
+++ b/src/cmds/pe_cmd_perk.c
@@ -64,6 +64,9 @@ static void pe_perform_unit_actions_impl(
if ((flags & PERK_OUTPUT_MDSO_LIBS) || (flags & PERK_OUTPUT_MDSO_SYMS))
pe_output_mdso_libraries(dctx,meta);
+ if (flags & PERK_OUTPUT_BASE_RELOCS)
+ pe_output_base_relocs(dctx,meta);
+
if (dctx->cctx->hdrdump)
pe_perform_hdrdump_actions(dctx,meta);
}
diff --git a/src/cmds/pe_cmd_ranlib.c b/src/cmds/pe_cmd_ranlib.c
new file mode 100644
index 0000000..5d6f078
--- /dev/null
+++ b/src/cmds/pe_cmd_ranlib.c
@@ -0,0 +1,15 @@
+/***************************************************************/
+/* perk: PE Resource Kit */
+/* Copyright (C) 2015--2025 SysDeer Technologies, LLC */
+/* Released under GPLv2 and GPLv3; see COPYING.PERK. */
+/***************************************************************/
+
+#include <perk/perk.h>
+#include "perk_driver_impl.h"
+
+int pe_cmd_ranlib(const struct pe_driver_ctx * dctx, const char * path)
+{
+ (void)dctx;
+ (void)path;
+ return 0;
+}
diff --git a/src/cmds/pe_cmd_size.c b/src/cmds/pe_cmd_size.c
new file mode 100644
index 0000000..4f16b75
--- /dev/null
+++ b/src/cmds/pe_cmd_size.c
@@ -0,0 +1,15 @@
+/***************************************************************/
+/* perk: PE Resource Kit */
+/* Copyright (C) 2015--2025 SysDeer Technologies, LLC */
+/* Released under GPLv2 and GPLv3; see COPYING.PERK. */
+/***************************************************************/
+
+#include <perk/perk.h>
+#include "perk_driver_impl.h"
+
+int pe_cmd_size(const struct pe_driver_ctx * dctx, const char * path)
+{
+ (void)dctx;
+ (void)path;
+ return 0;
+}
diff --git a/src/cmds/pe_cmd_strings.c b/src/cmds/pe_cmd_strings.c
new file mode 100644
index 0000000..b4ccf68
--- /dev/null
+++ b/src/cmds/pe_cmd_strings.c
@@ -0,0 +1,15 @@
+/***************************************************************/
+/* perk: PE Resource Kit */
+/* Copyright (C) 2015--2025 SysDeer Technologies, LLC */
+/* Released under GPLv2 and GPLv3; see COPYING.PERK. */
+/***************************************************************/
+
+#include <perk/perk.h>
+#include "perk_driver_impl.h"
+
+int pe_cmd_strings(const struct pe_driver_ctx * dctx, const char * path)
+{
+ (void)dctx;
+ (void)path;
+ return 0;
+}
diff --git a/src/cmds/pe_cmd_strip.c b/src/cmds/pe_cmd_strip.c
new file mode 100644
index 0000000..10e70d4
--- /dev/null
+++ b/src/cmds/pe_cmd_strip.c
@@ -0,0 +1,15 @@
+/***************************************************************/
+/* perk: PE Resource Kit */
+/* Copyright (C) 2015--2025 SysDeer Technologies, LLC */
+/* Released under GPLv2 and GPLv3; see COPYING.PERK. */
+/***************************************************************/
+
+#include <perk/perk.h>
+#include "perk_driver_impl.h"
+
+int pe_cmd_strip(const struct pe_driver_ctx * dctx, const char * path)
+{
+ (void)dctx;
+ (void)path;
+ return 0;
+}