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

Complete refactoring of the project #45

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
24f02c7
Development: add pre-commit configuration
Mar 29, 2023
f270859
Test: move examples to test folder
Mar 31, 2023
6f7d98b
Doc: move images to doc folder
Mar 31, 2023
6479af3
ocrecord: Move gdb_asm2cfg to separate package
Mar 28, 2023
f6777be
Development: exclude log files in .gitignore
May 3, 2023
5a226bf
ocgraph: Complete refactoring (architecture/design/code)
May 3, 2023
60a2d7b
ocgraph: Read/update instruction by coverage files
Apr 5, 2023
7ea43e5
Doc: rework README
Apr 21, 2023
51d5a0c
Scripts: Add/Adapt batch scripts acc. refactoring
Mar 31, 2023
e5cb5c4
Asm2Cfg: Add shell script for easy executing
Jun 20, 2023
ba48e55
Asm2Cfg: Adjust to SPDX license system
Jun 20, 2023
16228a3
Developement: Add requirements specification for python venv
Jun 20, 2023
c122d1b
Ocgraph: fix command line argument
Jul 4, 2023
1bb078f
Scripts: update batch_objdump to new interface
Jul 4, 2023
24355ba
Add ppc support structure
Oct 19, 2023
81c22f2
Add ppc instructions
Oct 23, 2023
f0411eb
Add ppc basic implementation probably breaking SPARC
Oct 25, 2023
a1099a2
Make minor dotfile format changes
Oct 25, 2023
a73bd2d
Fix sparc functionality
Oct 29, 2023
e9264ce
Remove debug prints
Oct 29, 2023
f3be79f
Fix output when no terurn target available
Oct 29, 2023
d69d726
Fix for PPC using binutils objdump
Nov 3, 2023
cdfbd38
Adjust ppc/sparc objdump
Nov 4, 2023
9647517
Adjust configuration.py for x86, Bugfix sparc
Dec 7, 2023
a3bc5f5
Add x86_objdump file
Dec 8, 2023
230bc55
add objdump_arm.py, adjust configuration.py for arm
Dec 15, 2023
96c3322
Merge branch 'ppcExtensionNew' into 'main'
Feb 20, 2024
fbf9450
Documentation: move into separate folder
Feb 21, 2024
b8eefa0
Licences: Change to MIT, add SPDX identifier to files
Feb 21, 2024
5742033
Configuration: move logging to separate class
Feb 21, 2024
cdd8d38
Merge branch 'prepare-pre-publication' into 'main'
Mar 1, 2024
c555976
run pre-commit hooks
Kazhuu Mar 28, 2024
a3e4645
more fixes
Kazhuu Apr 1, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ coverage.xml
# Test files
a.out
main.pdf

# Log files
*.log
42 changes: 42 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: debug-statements
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: fix-encoding-pragma
args: [--remove]
- id: mixed-line-ending
- id: pretty-format-json
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
args: [-l 99]
- repo: https://github.com/doublify/pre-commit-clang-format
rev: 62302476d0da01515660132d76902359bed0f782
hooks:
- id: clang-format
types: [file]
files: \.(cpp|cc|cxx|c|h|hxx)$
args: [--style=file]
24 changes: 24 additions & 0 deletions LICENSES/GTDGmbH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Valid-License-Identifier: GTDGmbH
License-Text:

Copyright (c) 2023 GTD GmbH. All rights reserved.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions LICENSE → LICENSES/MauriMustonen.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Valid-License-Identifier: MauriMustonen
License-Text:

MIT License

Copyright (c) 2021 Mauri Mustonen
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ flake8 = "*"
pytest = "*"
pytest-cov = "*"
pylint = "*"
pre-commit = "*"
Loading
Loading