poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 12/12] pvm.jitter: Wrap std string functions


From: Mohammad-Reza Nabipoor
Subject: [PATCH 12/12] pvm.jitter: Wrap std string functions
Date: Wed, 26 May 2021 02:51:15 +0430

Calling unwrapped functions in non-relocatable instructions is
incorrect.

2021-05-26  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>

        * libpoke/pvm.jitter (wrapped-functions): Add std string functions.
---
 ChangeLog          | 4 ++++
 libpoke/pvm.jitter | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index eac9b1d3..3d7ca642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-26  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
+
+       * libpoke/pvm.jitter (wrapped-functions): Add std string functions.
+
 2021-05-23  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
 
        * common/pk-utils.h (pk_format_binary): New function declaration.
diff --git a/libpoke/pvm.jitter b/libpoke/pvm.jitter
index 9eb5fde3..5be44fde 100644
--- a/libpoke/pvm.jitter
+++ b/libpoke/pvm.jitter
@@ -114,6 +114,10 @@ wrapped-functions
   secure_getenv
   gettime
   memcpy
+  strlen
+  strcmp
+  strcpy
+  strncpy
 end
 
 #wrapped-globals
-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]