Skip to content

Commit

Permalink
devel/libvex: Library for dynamic binary instrumentation and translation
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Feb 25, 2023
1 parent 1c70d2f commit 1580c05
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -1419,6 +1419,7 @@
SUBDIR += libvanessa_socket
SUBDIR += libvc
SUBDIR += libversion
SUBDIR += libvex
SUBDIR += libvhdi
SUBDIR += libvirt
SUBDIR += libvirt-dbus
Expand Down
29 changes: 29 additions & 0 deletions devel/libvex/Makefile
@@ -0,0 +1,29 @@
PORTNAME= libvex
DISTVERSION= g20230201
CATEGORIES= devel

MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for dynamic binary instrumentation and translation
WWW= https://github.com/pmem/valgrind

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.GPL

USES= gmake

USE_GITHUB= yes
GH_ACCOUNT= pmem
GH_PROJECT= valgrind
GH_TAGNAME= c0abd81

WRKSRC_SUBDIR= VEX

MAKEFILE= Makefile-gcc

MAKE_ARGS= EXTRA_CFLAGS="${CFLAGS}"

do-install:
cd ${WRKSRC}/pub && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/libvex
${INSTALL_DATA} ${WRKSRC}/libvex.a ${STAGEDIR}${PREFIX}/lib

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/libvex/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1677317026
SHA256 (pmem-valgrind-g20230201-c0abd81_GH0.tar.gz) = eef06d4ee7c0d1d19a0a438d093167d23e1e47a54300a11e93f53451731b5f49
SIZE (pmem-valgrind-g20230201-c0abd81_GH0.tar.gz) = 16035613
11 changes: 11 additions & 0 deletions devel/libvex/files/patch-pub_libvex__inner.h
@@ -0,0 +1,11 @@
--- pub/libvex_inner.h.orig 2023-02-25 09:25:47 UTC
+++ pub/libvex_inner.h
@@ -37,7 +37,7 @@
// For more details, see README_DEVELOPPERS.
//--------------------------------------------------------------------

-#include "config.h"
+//#include "config.h"

// The code of the inner Valgrind (core or tool code) contains client
// requests (e.g. from helgrind.h, memcheck.h, ...) to help the
2 changes: 2 additions & 0 deletions devel/libvex/pkg-descr
@@ -0,0 +1,2 @@
LibVEX is a library for dynamic binary instrumentation and translation
that is normally a part of Valgrind.
19 changes: 19 additions & 0 deletions devel/libvex/pkg-plist
@@ -0,0 +1,19 @@
include/libvex/libvex.h
include/libvex/libvex_basictypes.h
include/libvex/libvex_emnote.h
include/libvex/libvex_guest_amd64.h
include/libvex/libvex_guest_arm.h
include/libvex/libvex_guest_arm64.h
include/libvex/libvex_guest_mips32.h
include/libvex/libvex_guest_mips64.h
include/libvex/libvex_guest_offsets.h
include/libvex/libvex_guest_ppc32.h
include/libvex/libvex_guest_ppc64.h
include/libvex/libvex_guest_s390x.h
include/libvex/libvex_guest_x86.h
include/libvex/libvex_inner.h
include/libvex/libvex_inner.h.orig
include/libvex/libvex_ir.h
include/libvex/libvex_s390x_common.h
include/libvex/libvex_trc_values.h
lib/libvex.a

0 comments on commit 1580c05

Please sign in to comment.