Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes arm test #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docker/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
git \
qemu \
qemu-system \
qemu-utils \
openvpn \
binutils \
iprange \
Expand Down Expand Up @@ -45,4 +46,9 @@ RUN pip install -r requirements.txt \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /radare2/.git

# resize the sd card to fix ARM error:
# qemu-system-arm: Invalid SD card size: 60 MiB
# SD card size has to be a power of 2, e.g. 64 MiB.
RUN qemu-img resize -f raw ./images/arm/images/rootfs.ext2 64M

CMD ["./docker/worker/init.sh"]
2 changes: 0 additions & 2 deletions lisa/analysis/static_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ def _r2_info(self):
'language': info['bin']['lang'],
'stripped': info['bin']['stripped'],
'relocations': info['bin']['relocs'],
'min_opsize': info['bin']['minopsz'],
'max_opsize': info['bin']['maxopsz'],
'entry_point': entry_point[0]['vaddr']
}

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pexpect==4.2.1
geoip2==2.9.0
flask==1.0.2
flask-cors===3.0.9
celery==5.2.2
celery==5.1.2
rabbitmq==0.2.0
sqlalchemy==1.3.0
pymysql==0.9.3
Expand Down