-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* -Write macro records correctly. Fixes #7 * -Cleanup * -Update unit testing for draco patterns. WIP. * -Update eclipse project * -Minimally functional target_symbol * -Do not store row id for symbol target updates * -Update github CI * -Docker config for CI * -Point submodules to github * -Cleanup * -Add symbols and encoding mappings. WIP. * -Add symbols and encoding mappings. WIP. * Writer DWARF5 ecodings to encodings table * -Add minimally functional encodings implementation. -TODO:Cleanup. * -Update Makefile * -Update gitignore * -Cleanup * -Remove Ubuntu18 from github actions since it is not available anymore. -https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/ * -Remove dead code * -Cleanup * -Cleanup * -Cleanup * -Include unit test code in format checks. -Format unit test code. * -Update unit tests * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Configure coveralls.io for CI * -Update docs * -Update unit tests for new schema. WIP. -TODO:Add function to follow target symbols to test typdef'd types. -TODO:Add unit tests for new macro and elf image features. * -Add followTargetSymbol. Useful for testing typedef'd types. -Update unit tests. * -Use CFE_ES_HousekeepingTlm_Payload for unit testing. * -Update docs * -Update docs * -Extract ELF image data from 64-bit targets properly. -Add ElfClass to ElfFile * -Update docs * -Update unit-test test files * -Remove libdwarf from unit test code test file * -Remove dead code * -Remove dead code * -Add 32-bit make recipes. -Add 32-bit unit tests. * -Update 32-bit unit testing. * -Update docs * -Remove dead code * -Update Logger unit tests -Remove dead code * -Update unit tests * -Update docs * -Cleanup * -Cleanup * -Cleanup * -Add macro unit test. -Update Dockerfile * -Create test files that comply with DWARF4 and DWARF5. Allows us to verify support of DWARF4 as more features are added in the future. * -Unit test DWARF4 and DWARF5. WIP. * -Add DWARF4 testing to Dockerfile * -Cleanup * -Update docs * -Update docs * -Update Catch 2 due to issue on Ubuntu22:catchorg/Catch2#2178 * -pathIndex handling for DWARF5. TODO:This changes for DWARF4, so add alternative for DWARF4. -Remove DisplayDie function for now as it blows up the stack with big c++ names inside DWARF. -TODO:Rewrite DisplayDie function -Add include to src/Artifact.h, needed for Ubuntu22. * -Handle DWARF dbg source files for DWARF4 and 5. -TODO:Figure out what to do about Ubuntu 20/22 behavior producing different DWARF src file line number info for the same DWARF version. * -Add group number as CLI argument. WIP. -Issues of interest:#36, #35 * -Group number argument. Useful for getting DWARF data from multiple COMBAT sections, like macros inside of unlinked ELF files. * -Add unit tests for macros across multiple COMDAT groups. * -Cleanup * -Update docs * -Update unit tests. * -Update Dockerfile for Ubuntu22 * -Update CI * -Update Dockerfiles for Ubuntu20 and Ubuntu22 * -Update Makefile * -Update CI * -Update CI * -Test DWARF version in unit tests * -Update docs * -Update docs * -Update docs * -Update docs. WIP. * -Update docs * -Cleanup * -Cleanup * -Update docs. -Remove DECL code from pointer types. Pointer types do not have DECL coords. * -Add unit tests for artifacts * -Cleanup * -Update test_file1 * -Remove dead code * -Update tests in Docker files * -Update docs * -Update docs * -Update docs * -Update unit tests * -Fix Field constructors * -Minimal testing for bitfields. WIP. * -Update Docker files -Update Makefile * -Add Ubuntu18 to CI. -Update docs * -Update docs * -Update docs * -Update docs * -Update docs * -Update clang_format_all * -Add format checks to Dockerfile.ubuntu20 * -Update clang_format_all * -Format code * -Cleanup * -Add error-checking for groupNumber * -Push coveralls report * -Update docs * -Update CI --------- Co-authored-by: Mathew Benson <[email protected]>
- Loading branch information
1 parent
58aa367
commit 282a1af
Showing
66 changed files
with
6,621 additions
and
3,252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
#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 . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
build | ||
*autosave |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Submodule Catch2
updated
74 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.