Skip to content

Commit

Permalink
Merge branch 'JonathanSalwan:master' into riscv-support
Browse files Browse the repository at this point in the history
  • Loading branch information
Antwy authored May 6, 2024
2 parents e155584 + 722d900 commit 8903f3a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
boost-interface: ['ON', 'OFF']
capstone-version: ['5.0.1']
steps:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Install Unicorn
run: |
python -m pip install unicorn==2.0.0
python -m pip install unicorn==2.0.1
- name: Install LIEF
run: |
Expand Down
25 changes: 14 additions & 11 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: macos-latest
# macos-13 = x86
# macos-14 = arm (M1)
runs-on: macos-12
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -33,14 +35,15 @@ jobs:
unzip z3-4.8.17-x64-osx-10.16.zip
sudo python -m pip install z3-solver==4.8.17.0
- name: Download and build GMP
run: |
wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
tar xvf gmp-6.2.1.tar.xz
cd gmp-6.2.1/
./configure --with-pic
make
make check
# NOTE: Do we really need this?
#- name: Download and build GMP
# run: |
# wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
# tar xvf gmp-6.2.1.tar.xz
# cd gmp-6.2.1/
# ./configure --with-pic
# make
# make check

- name: Install Ninja
run: |
Expand Down Expand Up @@ -71,7 +74,7 @@ jobs:
- name: Install Unicorn
run: |
sudo python -m pip install unicorn==2.0.0
sudo python -m pip install unicorn==2.0.1
- name: Install LIEF
run: |
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ jobs:


build-macos:
runs-on: macos-latest
# macos-13 = x86
# macos-14 = arm (M1)
runs-on: macos-12
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
Expand Down Expand Up @@ -173,14 +175,14 @@ jobs:
run: |
sudo python -m pip install build
- name: Download and build GMP
run: |
wget -q https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
tar -xf gmp-6.2.1.tar.xz
cd gmp-6.2.1
./configure --enable-cxx
make
make install
#- name: Download and build GMP
# run: |
# wget -q https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
# tar -xf gmp-6.2.1.tar.xz
# cd gmp-6.2.1
# ./configure --enable-cxx
# make
# make install

- name: Install Ninja
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/examples/python/lifting_dot_format.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#!/usr/bin/env python3
## -*- coding: utf-8 -*-
##
## $ python lifting_dot_format.py > out.dot ; dot -Tpng ./out.dot -o out.png ; eog out.png
## $ python3 lifting_dot_format.py > out.dot ; dot -Tpng ./out.dot -o out.png ; eog out.png
##

import sys
Expand Down

0 comments on commit 8903f3a

Please sign in to comment.