Skip to content
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
1 change: 1 addition & 0 deletions ofrak_core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- When the user selects the "Decompilation" tab in the GUI, the pane is updated with the decompiled code automatically, without having to click "Analyze" first. ([#639](https://github.com/redballoonsecurity/ofrak/pull/639))
- Use a single source of truth for the package version ([#640](https://github.com/redballoonsecurity/ofrak/pull/640))
- Update the behavior of `get_only_descendant_as_view`, `get_descendants_as_view`, `get_ancestors_as_view`, and `get_only_ancestor_as_view` to retrieve all resources that match the filter. ([#642](https://github.com/redballoonsecurity/ofrak/pull/642))
- Reimplement the CPIO components using `libarchive` ([#647](https://github.com/redballoonsecurity/ofrak/pull/647))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added to unreleased! You also need to bump the VERSION in ofrak_core/version.py.


### Deprecated
- `Resource.flush_to_disk` deprecated in favor of `Resource.flush_data_to_disk`. ([#373](https://github.com/redballoonsecurity/ofrak/pull/373), [#567](https://github.com/redballoonsecurity/ofrak/pull/568))
Expand Down
3 changes: 2 additions & 1 deletion ofrak_core/Dockerstub
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG TARGETARCH
# - u-boot-tools: for mkimage, to test the UImage packer/unpacker
# - zlib1g-dev, liblzma-dev: development headers needed for squashfs-tools compilation
# - libarchive13: required for the CPIO components
RUN apt-get -y update && \
apt-get -y install --no-install-recommends \
build-essential \
cmake \
cpio \
git \
genisoimage \
liblz4-dev \
Expand All @@ -23,6 +23,7 @@ RUN apt-get -y update && \
unar \
unzip \
zstd \
libarchive13 \
&& rm -rf /var/lib/apt/lists/*

# python-lzo needed by ubireader
Expand Down
3 changes: 3 additions & 0 deletions ofrak_core/mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ ignore_missing_imports = True
# python-magic-bin on Windows doesn't include type stubs
[mypy-magic.*]
ignore_missing_imports = True

[mypy-libarchive.*]
ignore_missing_imports = True
2 changes: 2 additions & 0 deletions ofrak_core/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ tempfile312~=1.0.1
typeguard~=2.13.3
ubi-reader==0.8.12
xattr==0.10.1;platform_system!="Windows"
libarchive-c==5.3
extractcode-libarchive>=3.5.1.210531;platform_system=="Windows"
2 changes: 2 additions & 0 deletions ofrak_core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ class CTypesExtension(setuptools.Extension):
"typeguard~=2.13.3",
"ubi-reader>=0.8.12",
"xattr>=0.10.1;platform_system!='Windows'",
"libarchive-c>=5.3",
"extractcode-libarchive>=3.5.1.210531;platform_system=='Windows'",
],
author="Red Balloon Security",
author_email="ofrak@redballoonsecurity.com",
Expand Down
Loading
Loading