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

Base type encoding #33

Merged
merged 116 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
717ec8e
Merge branch 'develop' into 'master'
mbenson1 May 26, 2024
0bd9bc9
Merge branch 'develop'
mbenson1 May 26, 2024
911817a
Merge branch 'develop'
mbenson1 May 26, 2024
523888c
-Write macro records correctly. Fixes #7
lorenzo-gomez-windhover May 31, 2024
32f52e6
-Cleanup
lorenzo-gomez-windhover May 31, 2024
69e703c
-Update unit testing for draco patterns. WIP.
lorenzo-gomez-windhover Jul 25, 2024
c18f9e9
-Update eclipse project
lorenzo-gomez-windhover Jul 26, 2024
2c15aff
-Minimally functional target_symbol
lorenzo-gomez-windhover Jul 26, 2024
a92a7fb
-Do not store row id for symbol target updates
lorenzo-gomez-windhover Jul 26, 2024
d4d4996
-Update github CI
lorenzo-gomez-windhover Aug 26, 2024
8cf80c1
-Docker config for CI
lorenzo-gomez-windhover Aug 26, 2024
705b578
-Point submodules to github
lorenzo-gomez-windhover Aug 26, 2024
cbfad85
-Cleanup
lorenzo-gomez-windhover Aug 26, 2024
c724902
-Add symbols and encoding mappings. WIP.
lorenzo-gomez-windhover Aug 30, 2024
f09b5cf
-Add symbols and encoding mappings. WIP.
lorenzo-gomez-windhover Sep 3, 2024
12b6b17
Merge remote-tracking branch 'origin/7-write-macro-records-correctly'…
lorenzo-gomez-windhover Sep 3, 2024
b1a9e37
Writer DWARF5 ecodings to encodings table
lorenzo-gomez-windhover Sep 3, 2024
186880c
-Add minimally functional encodings implementation.
lorenzo-gomez-windhover Sep 3, 2024
72b3a6e
-Update Makefile
lorenzo-gomez-windhover Sep 4, 2024
016b1a8
-Update gitignore
lorenzo-gomez-windhover Sep 4, 2024
216756c
-Cleanup
lorenzo-gomez-windhover Sep 4, 2024
6736189
-Remove Ubuntu18 from github actions since it is not available anymore.
lorenzo-gomez-windhover Sep 4, 2024
5f2d57d
-Remove dead code
lorenzo-gomez-windhover Sep 4, 2024
f55ac39
-Cleanup
lorenzo-gomez-windhover Sep 4, 2024
615b7f1
-Cleanup
lorenzo-gomez-windhover Sep 4, 2024
f6cd03b
-Cleanup
lorenzo-gomez-windhover Sep 4, 2024
31f31c5
-Include unit test code in format checks.
lorenzo-gomez-windhover Sep 4, 2024
9aeeba7
-Update unit tests
lorenzo-gomez-windhover Sep 4, 2024
39b5b11
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
af1b2df
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
d1bbd70
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
a6da24a
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
e7a9912
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
54f5393
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
8361768
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
f49be00
-Configure coveralls.io for CI
lorenzo-gomez-windhover Sep 4, 2024
1352632
-Update docs
lorenzo-gomez-windhover Sep 4, 2024
89455e2
-Update unit tests for new schema. WIP.
lorenzo-gomez-windhover Sep 4, 2024
b757e81
-Add followTargetSymbol. Useful for testing typedef'd types.
lorenzo-gomez-windhover Sep 5, 2024
82ec507
-Use CFE_ES_HousekeepingTlm_Payload for unit testing.
lorenzo-gomez-windhover Sep 5, 2024
7443457
-Update docs
lorenzo-gomez-windhover Sep 5, 2024
d8a025a
-Update docs
lorenzo-gomez-windhover Sep 6, 2024
c880916
-Extract ELF image data from 64-bit targets properly.
lorenzo-gomez-windhover Sep 6, 2024
6ac4fe1
-Update docs
lorenzo-gomez-windhover Sep 6, 2024
85c829b
-Update unit-test test files
lorenzo-gomez-windhover Sep 6, 2024
0403193
-Remove libdwarf from unit test code test file
lorenzo-gomez-windhover Sep 6, 2024
9ad54e0
-Remove dead code
lorenzo-gomez-windhover Sep 6, 2024
53b4341
-Remove dead code
lorenzo-gomez-windhover Sep 6, 2024
e5fbb07
-Add 32-bit make recipes.
lorenzo-gomez-windhover Sep 9, 2024
cd8da48
-Update 32-bit unit testing.
lorenzo-gomez-windhover Sep 9, 2024
52d8f8a
-Update docs
lorenzo-gomez-windhover Sep 9, 2024
b4df9e0
-Remove dead code
lorenzo-gomez-windhover Sep 9, 2024
e63d336
-Update Logger unit tests
lorenzo-gomez-windhover Sep 9, 2024
6be59f5
-Update unit tests
lorenzo-gomez-windhover Sep 9, 2024
7e4a883
-Update docs
lorenzo-gomez-windhover Sep 10, 2024
5e944cc
-Cleanup
lorenzo-gomez-windhover Sep 10, 2024
095647a
-Cleanup
lorenzo-gomez-windhover Sep 10, 2024
735d29e
-Cleanup
lorenzo-gomez-windhover Sep 10, 2024
092f457
-Add macro unit test.
lorenzo-gomez-windhover Sep 10, 2024
25b6bc4
-Create test files that comply with DWARF4 and DWARF5. Allows us to v…
lorenzo-gomez-windhover Sep 10, 2024
479b6d6
-Unit test DWARF4 and DWARF5. WIP.
lorenzo-gomez-windhover Sep 10, 2024
8002311
-Add DWARF4 testing to Dockerfile
lorenzo-gomez-windhover Sep 11, 2024
ebaf7ff
-Cleanup
lorenzo-gomez-windhover Sep 11, 2024
b230ef1
-Update docs
lorenzo-gomez-windhover Sep 11, 2024
ea76c12
-Update docs
lorenzo-gomez-windhover Sep 11, 2024
8bdbfa4
-Update Catch 2 due to issue on Ubuntu22:https://github.com/catchorg/…
lorenzo-gomez-windhover Sep 11, 2024
81bb553
-pathIndex handling for DWARF5. TODO:This changes for DWARF4, so add …
lorenzo-gomez-windhover Sep 12, 2024
d5bf6fa
-Handle DWARF dbg source files for DWARF4 and 5.
lorenzo-gomez-windhover Sep 13, 2024
d2e95fa
-Add group number as CLI argument. WIP.
lorenzo-gomez-windhover Sep 13, 2024
668968b
-Group number argument. Useful for getting DWARF data from multiple C…
lorenzo-gomez-windhover Sep 16, 2024
3512094
-Add unit tests for macros across multiple COMDAT groups.
lorenzo-gomez-windhover Sep 16, 2024
d4f9b28
-Cleanup
lorenzo-gomez-windhover Sep 16, 2024
1958a51
-Update docs
lorenzo-gomez-windhover Sep 16, 2024
ceefe40
-Update unit tests.
lorenzo-gomez-windhover Sep 16, 2024
b1f1466
-Move dwarf4 testing out of Makefile.
lorenzo-gomez-windhover Sep 17, 2024
f86de0f
-Update Dockerfile for Ubuntu22
lorenzo-gomez-windhover Sep 17, 2024
feb7e8f
-Update CI
lorenzo-gomez-windhover Sep 17, 2024
395d11c
-Update Dockerfiles for Ubuntu20 and Ubuntu22
lorenzo-gomez-windhover Sep 17, 2024
85ba705
-Update Makefile
lorenzo-gomez-windhover Sep 17, 2024
cdb7b1a
-Update CI
lorenzo-gomez-windhover Sep 17, 2024
8cf34df
-Update CI
lorenzo-gomez-windhover Sep 17, 2024
705bba1
-Test DWARF version in unit tests
lorenzo-gomez-windhover Sep 17, 2024
b46bf39
-Update docs
lorenzo-gomez-windhover Sep 17, 2024
418ba33
-Update docs
lorenzo-gomez-windhover Sep 17, 2024
5242b61
-Update docs
lorenzo-gomez-windhover Sep 17, 2024
f4997d1
-Update docs. WIP.
lorenzo-gomez-windhover Sep 17, 2024
9e3bfe3
-Update docs
lorenzo-gomez-windhover Sep 18, 2024
3f15cc0
-Cleanup
lorenzo-gomez-windhover Sep 18, 2024
4ea7916
-Cleanup
lorenzo-gomez-windhover Sep 18, 2024
55b4876
-Update docs.
lorenzo-gomez-windhover Sep 18, 2024
96a7d37
-Add unit tests for artifacts
lorenzo-gomez-windhover Sep 18, 2024
3a22ffc
-Cleanup
lorenzo-gomez-windhover Sep 18, 2024
f5af932
-Update test_file1
lorenzo-gomez-windhover Sep 18, 2024
a17990b
-Remove dead code
lorenzo-gomez-windhover Sep 18, 2024
130c6d8
-Update tests in Docker files
lorenzo-gomez-windhover Sep 18, 2024
b019c94
-Update docs
lorenzo-gomez-windhover Sep 18, 2024
006bd44
-Update docs
lorenzo-gomez-windhover Sep 18, 2024
e68832c
-Update docs
lorenzo-gomez-windhover Sep 18, 2024
870d817
-Update unit tests
lorenzo-gomez-windhover Sep 18, 2024
60bc2b2
-Fix Field constructors
lorenzo-gomez-windhover Sep 18, 2024
229dbb2
-Minimal testing for bitfields. WIP.
lorenzo-gomez-windhover Sep 19, 2024
e0135ec
-Update Docker files
lorenzo-gomez-windhover Sep 19, 2024
5d9929d
-Add Ubuntu18 to CI.
lorenzo-gomez-windhover Sep 19, 2024
37d846b
-Update docs
lorenzo-gomez-windhover Sep 19, 2024
5f4bcd6
-Update docs
lorenzo-gomez-windhover Sep 19, 2024
3012b7f
-Update docs
lorenzo-gomez-windhover Sep 19, 2024
59c5eed
-Update docs
lorenzo-gomez-windhover Sep 19, 2024
c5598b7
-Update clang_format_all
lorenzo-gomez-windhover Sep 19, 2024
916a6f0
-Add format checks to Dockerfile.ubuntu20
lorenzo-gomez-windhover Sep 19, 2024
4636cd8
-Update clang_format_all
lorenzo-gomez-windhover Sep 19, 2024
66485c9
-Format code
lorenzo-gomez-windhover Sep 19, 2024
4a01159
-Cleanup
lorenzo-gomez-windhover Sep 19, 2024
fee156a
-Add error-checking for groupNumber
lorenzo-gomez-windhover Sep 19, 2024
57479b4
-Push coveralls report
lorenzo-gomez-windhover Sep 19, 2024
5e3573f
-Update docs
lorenzo-gomez-windhover Sep 19, 2024
f3ef90d
-Update CI
lorenzo-gomez-windhover Sep 19, 2024
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
146 changes: 32 additions & 114 deletions .cproject

Large diffs are not rendered by default.

48 changes: 28 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,35 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-latest]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install dependencies
run: |
pip install cpp-coveralls==0.4.2
sudo apt-get install libdwarf-dev
sudo apt-get install libelf-dev
sudo apt-get install libsqlite3-dev
sudo apt-get install g++
sudo apt-get install gcovr
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Run tests
run: make coverage
#- name: publish to coveralls.io
#uses: coverallsapp/github-action@v1.1.2
#with:
# github-token: ${{ github.token }}
submodules: true # Clone submodules
fetch-depth: 0 # Ensure full repository history is fetched

# Set up Docker Buildx (optional, useful for multi-platform builds)
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# Build the Docker image
# - name: Build Docker image
# uses: docker/build-push-action@v5
# with:
# context: .
# push: false # Do not push the image
# tags: juicer:latest # Local tag for the built image

- name: Build Docker image For Ubuntu22
run: docker build --no-cache -t juicer:latest -f Dockerfile.ubuntu22 .

- name: Build Docker image For Ubuntu20
run: docker build --no-cache -t juicer:latest -f Dockerfile.ubuntu20 .
- name: Copy coverage report to host
run: docker image ls && img_id=$(docker create juicer:latest) && docker cp $img_id:/home/docker/juicer/coverage.gcov .
- name: publish to coveralls.io
run: wget https://github.com/coverallsapp/coverage-reporter/releases/download/v0.6.14/coveralls-linux && chmod a+x ./coveralls-linux && COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} ./coveralls-linux

- name: Build Docker image For Ubuntu18
run: docker build --no-cache -t juicer:latest -f Dockerfile.ubuntu18 .

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build
*autosave
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "Catch2"]
path = Catch2
url = git@penguin.windhoverlabs.lan:airliner/catch2.git
url = git@github.com:WindhoverLabs/Catch2.git
30 changes: 3 additions & 27 deletions .settings/language.settings.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="cdt.managedbuild.toolchain.gnu.base.53552615" name="Default">
<configuration id="cdt.managedbuild.toolchain.gnu.base.468525986" name="Default">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider class="org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" name="CDT User Setting Entries" prefer-non-shared="true"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-191371811346603331" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
</extension>
</configuration>
<configuration id="cdt.managedbuild.toolchain.gnu.base.53552615.189983013" name="Test">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-191371811346603331" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
</extension>
</configuration>
<configuration id="cdt.managedbuild.toolchain.gnu.base.53552615.265953179" name="run-test">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-191371811346603331" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1786210549053187963" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
Expand Down
6 changes: 6 additions & 0 deletions .settings/org.eclipse.cdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
doxygen/doxygen_new_line_after_brief=true
doxygen/doxygen_use_brief_tag=false
doxygen/doxygen_use_javadoc_tags=true
doxygen/doxygen_use_pre_tag=false
doxygen/doxygen_use_structural_commands=false
eclipse.preferences.version=1
2 changes: 1 addition & 1 deletion Catch2
Submodule Catch2 updated 74 files
+9 −13 .travis.yml
+11 −4 BUILD.bazel
+3 −0 CMake/catch2.pc.in
+39 −13 CMakeLists.txt
+4 −4 README.md
+1 −1 codecov.yml
+1 −1 conanfile.py
+33 −2 contrib/Catch.cmake
+55 −1 contrib/CatchAddTests.cmake
+35 −8 contrib/ParseAndAddCatchTests.cmake
+54 −2 docs/cmake-integration.md
+3 −3 docs/contributing.md
+7 −0 docs/deprecations.md
+3 −3 docs/generators.md
+14 −0 docs/limitations.md
+3 −0 docs/opensource-users.md
+1 −1 docs/other-macros.md
+139 −2 docs/release-notes.md
+34 −0 docs/slow-compiles.md
+1 −1 docs/tutorial.md
+1 −1 examples/302-Gen-Table.cpp
+16 −16 include/catch.hpp
+1 −3 include/internal/benchmark/catch_constructor.hpp
+1 −0 include/internal/benchmark/catch_execution_plan.hpp
+3 −1 include/internal/benchmark/detail/catch_estimate_clock.hpp
+1 −1 include/internal/benchmark/detail/catch_run_for_at_least.hpp
+2 −2 include/internal/benchmark/detail/catch_stats.cpp
+2 −2 include/internal/benchmark/detail/catch_stats.hpp
+1 −1 include/internal/catch_approx.h
+14 −21 include/internal/catch_compiler_capabilities.h
+44 −0 include/internal/catch_config_uncaught_exceptions.hpp
+1 −1 include/internal/catch_debugger.h
+10 −2 include/internal/catch_default_main.hpp
+1 −1 include/internal/catch_enum_values_registry.cpp
+139 −71 include/internal/catch_fatal_condition.cpp
+42 −43 include/internal/catch_fatal_condition.h
+6 −1 include/internal/catch_generators_generic.hpp
+2 −0 include/internal/catch_interfaces_reporter.h
+2 −2 include/internal/catch_matchers_floating.cpp
+1 −1 include/internal/catch_output_redirect.cpp
+9 −6 include/internal/catch_platform.h
+48 −9 include/internal/catch_run_context.cpp
+1 −0 include/internal/catch_run_context.h
+5 −1 include/internal/catch_session.cpp
+18 −14 include/internal/catch_test_case_registry_impl.cpp
+8 −0 include/internal/catch_test_case_tracker.cpp
+4 −0 include/internal/catch_test_case_tracker.h
+34 −34 include/internal/catch_test_registry.h
+2 −2 include/internal/catch_tostring.h
+2 −0 include/internal/catch_uncaught_exceptions.cpp
+1 −1 include/internal/catch_version.cpp
+28 −9 include/reporters/catch_reporter_junit.cpp
+4 −3 include/reporters/catch_reporter_junit.h
+29 −1 projects/CMakeLists.txt
+1 −0 projects/ExtraTests/X01-PrefixedMacros.cpp
+4 −0 projects/ExtraTests/X02-DisabledMacros.cpp
+6 −0 projects/SelfTest/Baselines/compact.sw.approved.txt
+42 −2 projects/SelfTest/Baselines/console.std.approved.txt
+56 −2 projects/SelfTest/Baselines/console.sw.approved.txt
+35 −1 projects/SelfTest/Baselines/junit.sw.approved.txt
+25 −0 projects/SelfTest/Baselines/sonarqube.sw.approved.txt
+61 −5 projects/SelfTest/Baselines/xml.sw.approved.txt
+3 −0 projects/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp
+11 −0 projects/SelfTest/IntrospectiveTests/ToString.tests.cpp
+7 −0 projects/SelfTest/UsageTests/Approx.tests.cpp
+14 −1 projects/SelfTest/UsageTests/Condition.tests.cpp
+9 −11 projects/SelfTest/UsageTests/Generators.tests.cpp
+4 −2 projects/SelfTest/UsageTests/Matchers.tests.cpp
+16 −0 projects/SelfTest/UsageTests/Message.tests.cpp
+25 −0 projects/SelfTest/UsageTests/Tricky.tests.cpp
+5 −2 scripts/approvalTests.py
+11 −9 scripts/releaseCommon.py
+451 −274 single_include/catch2/catch.hpp
+2 −0 src/catch_with_main.cpp
24 changes: 20 additions & 4 deletions Dockerfile → Dockerfile.ubuntu18
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:18.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
Expand All @@ -13,12 +13,18 @@ RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gcovr

RUN mkdir /home/docker
COPY . /home/docker/juicer


RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make docs

RUN cd /home/docker/juicer && make
RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make build-tests
RUN cd /home/docker/juicer && make all
WORKDIR /home/docker/juicer/build
RUN ./juicer-ut "[Enumeration]"
RUN ./juicer-ut "[main_test#1]"
Expand All @@ -29,11 +35,21 @@ RUN ./juicer-ut "[main_test#5]"
RUN ./juicer-ut "[main_test#6]"
RUN ./juicer-ut "[main_test#7]"
RUN ./juicer-ut "[main_test#8]"
RUN ./juicer-ut "[main_test#9]"
RUN ./juicer-ut "[main_test#10]"
RUN ./juicer-ut "[main_test#11]"
RUN ./juicer-ut "[main_test#12]"
RUN ./juicer-ut "[main_test#13]"
RUN ./juicer-ut "[main_test#14]"
RUN ./juicer-ut "[main_test#15]"
RUN ./juicer-ut "[main_test#16]"
RUN ./juicer-ut "[main_test#17]"
RUN ./juicer-ut "[main_test#18]"
RUN ./juicer-ut "[main_test#19]"
RUN ./juicer-ut "[main_test#20]"
RUN ./juicer-ut "[Module]"
RUN ./juicer-ut "[Symbol]"

RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make docs



22 changes: 22 additions & 0 deletions Dockerfile.ubuntu18.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu:18.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && \
apt-get -y install sudo

RUN apt-get install -y gcc-multilib
RUN apt-get install -y g++-multilib
RUN apt-get install -y libdwarf-dev
RUN apt-get install -y make
RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gcovr

RUN mkdir /home/docker
RUN mkdir /home/docker/juicer
WORKDIR /home/docker/juicer


71 changes: 71 additions & 0 deletions Dockerfile.ubuntu20
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
FROM ubuntu:20.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && \
apt-get -y install sudo

RUN apt-get install -y gcc-multilib
RUN apt-get install -y g++-multilib
RUN apt-get install -y libdwarf-dev
RUN apt-get install -y make
RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gcovr



RUN apt-get install -y gnupg2
RUN apt-get install -y software-properties-common
RUN apt-get install -y python3-pip
RUN pip3 install PyYAML

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
RUN add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main'
RUN apt-get install -y clang-format

RUN mkdir /home/docker
COPY . /home/docker/juicer


RUN cd /home/docker/juicer && make check-format

RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make docs

RUN cd /home/docker/juicer && make
RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make all
WORKDIR /home/docker/juicer/build
RUN ./juicer-ut "[Enumeration]"
RUN ./juicer-ut "[main_test#1]"
RUN ./juicer-ut "[main_test#2]"
RUN ./juicer-ut "[main_test#3]"
RUN ./juicer-ut "[main_test#4]"
RUN ./juicer-ut "[main_test#5]"
RUN ./juicer-ut "[main_test#6]"
RUN ./juicer-ut "[main_test#7]"
RUN ./juicer-ut "[main_test#8]"
RUN ./juicer-ut "[main_test#9]"
RUN ./juicer-ut "[main_test#10]"
RUN ./juicer-ut "[main_test#11]"
RUN ./juicer-ut "[main_test#12]"
RUN ./juicer-ut "[main_test#13]"
RUN ./juicer-ut "[main_test#14]"
RUN ./juicer-ut "[main_test#15]"
RUN ./juicer-ut "[main_test#16]"
RUN ./juicer-ut "[main_test#17]"
RUN ./juicer-ut "[main_test#18]"
RUN ./juicer-ut "[main_test#19]"
RUN ./juicer-ut "[main_test#20]"
RUN ./juicer-ut "[Module]"
RUN ./juicer-ut "[Symbol]"

RUN cd /home/docker/juicer && make coverage
#Useful for CI
RUN cd /home/docker/juicer && gcovr --filter /home/docker/juicer/src/ --object-directory /home/docker/juicer/build/ut_obj/ --xml coverage.gcov



29 changes: 29 additions & 0 deletions Dockerfile.ubuntu20.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:20.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && \
apt-get -y install sudo

RUN apt-get install -y gcc-multilib
RUN apt-get install -y g++-multilib
RUN apt-get install -y libdwarf-dev
RUN apt-get install -y make
RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gdb
RUN apt-get install -y gcovr
RUN apt-get install -y gnupg2
RUN apt-get install -y software-properties-common
RUN apt-get install -y python3-pip
RUN pip3 install PyYAML

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
RUN add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main'
RUN apt-get install -y clang-format

RUN mkdir /home/docker
RUN mkdir /home/docker/juicer
WORKDIR /home/docker/juicer
58 changes: 58 additions & 0 deletions Dockerfile.ubuntu22
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
FROM ubuntu:22.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && \
apt-get -y install sudo

RUN apt-get install -y gcc-multilib
RUN apt-get install -y g++-multilib
RUN apt-get install -y libdwarf-dev
RUN apt-get install -y make
RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gcovr

RUN mkdir /home/docker
COPY . /home/docker/juicer


RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make docs

RUN cd /home/docker/juicer && make
RUN cd /home/docker/juicer && make clean
RUN cd /home/docker/juicer && make all
WORKDIR /home/docker/juicer/build
RUN ./juicer-ut "[Enumeration]"
RUN ./juicer-ut "[main_test#1]"
RUN ./juicer-ut "[main_test#2]"
RUN ./juicer-ut "[main_test#3]"
RUN ./juicer-ut "[main_test#4]"
RUN ./juicer-ut "[main_test#5]"
RUN ./juicer-ut "[main_test#6]"
RUN ./juicer-ut "[main_test#7]"
RUN ./juicer-ut "[main_test#8]"
RUN ./juicer-ut "[main_test#9]"
RUN ./juicer-ut "[main_test#10]"
RUN ./juicer-ut "[main_test#11]"
RUN ./juicer-ut "[main_test#12]"
RUN ./juicer-ut "[main_test#13]"
RUN ./juicer-ut "[main_test#14]"
RUN ./juicer-ut "[main_test#15]"
RUN ./juicer-ut "[main_test#16]"
RUN ./juicer-ut "[main_test#17]"
RUN ./juicer-ut "[main_test#18]"
RUN ./juicer-ut "[main_test#19]"
RUN ./juicer-ut "[main_test#20]"
RUN ./juicer-ut "[Module]"
RUN ./juicer-ut "[Symbol]"

RUN cd /home/docker/juicer && make coverage
#Useful for CI
RUN cd /home/docker/juicer && gcovr --filter /home/docker/juicer/src/ --object-directory /home/docker/juicer/build/ut_obj/ --xml coverage.gcov



21 changes: 21 additions & 0 deletions Dockerfile.ubuntu22.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM ubuntu:22.04
RUN apt update
ARG DEBIAN_FRONTEND=noninteractive
ENV TERM xterm-256color
RUN apt-get update && \
apt-get -y install sudo

RUN apt-get install -y gcc-multilib
RUN apt-get install -y g++-multilib
RUN apt-get install -y libdwarf-dev
RUN apt-get install -y make
RUN apt-get install -y libelf-dev
RUN apt-get install -y libsqlite3-dev
RUN apt-get install -y libssl-dev
RUN apt-get install -y doxygen
RUN apt-get install -y gdb
RUN apt-get install -y gcovr

RUN mkdir /home/docker
RUN mkdir /home/docker/juicer
WORKDIR /home/docker/juicer
Binary file added Images/bit_packed_struct.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Images/fields_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Images/symbols_table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading