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

Initial checkin of actual code #1

Closed
wants to merge 114 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
e47e687
Initial checkin of actual code
mbenson1 Aug 21, 2020
52431c0
Refactored the build system.
mbenson1 Aug 21, 2020
8b43427
-Created Eclipse project for juicer
lorenzo-gomez-windhover Aug 21, 2020
2c8e288
Completed gcovr integration
mbenson1 Aug 21, 2020
395f8a9
Merge branch 'develop' of https://github.com/WindhoverLabs/juicer int…
lorenzo-gomez-windhover Aug 21, 2020
5cd81a2
Added fix to Makefile to keep going after error
lorenzo-gomez-windhover Aug 21, 2020
ed77749
-Refactored code with vstring for cleaner code
lorenzo-gomez-windhover Aug 21, 2020
6c100ee
-TODO:Add structs that are not typedefed to module
lorenzo-gomez-windhover Aug 21, 2020
0095833
Fixed readme for github
lorenzo-gomez-windhover Aug 24, 2020
279d43c
Removed vsprint function
lorenzo-gomez-windhover Aug 24, 2020
bf4795d
Added functionality to extract structs that are not typedef'd
lorenzo-gomez-windhover Aug 24, 2020
fe2f4dc
Added tests for struct correctness
lorenzo-gomez-windhover Aug 24, 2020
475be71
Clean up
lorenzo-gomez-windhover Aug 24, 2020
e3426ef
Fixed ambiguous data type on SQLite table
lorenzo-gomez-windhover Aug 25, 2020
18a3a07
TODO: Add array handling at the top level
lorenzo-gomez-windhover Aug 25, 2020
2b85f76
TODO: Finish up testing arrays
lorenzo-gomez-windhover Aug 25, 2020
a0ea8d3
Tests are self-adaptable
lorenzo-gomez-windhover Aug 25, 2020
fdcef3c
Added support for arrays
lorenzo-gomez-windhover Aug 25, 2020
a9a8117
-Finished up functional implementation of arrays
lorenzo-gomez-windhover Aug 26, 2020
608eac0
-Added tests for arrays
lorenzo-gomez-windhover Aug 26, 2020
a121dd5
-Fixed issue caused by uninitialized out paramter
lorenzo-gomez-windhover Sep 8, 2020
2a1f350
-Fixed module name being stored incorrectly in the database
lorenzo-gomez-windhover Sep 8, 2020
ac47c2a
-Fixed issue that prevented juicer from parsing PIX4LIB
lorenzo-gomez-windhover Sep 9, 2020
910fc3b
-Added TravisCI setup
lorenzo-gomez-windhover Sep 10, 2020
fb3167d
-Fixed bug that caused tests to fail
lorenzo-gomez-windhover Sep 14, 2020
d509703
-Added tests to CI
lorenzo-gomez-windhover Sep 14, 2020
c4a39e4
-Added all intrinsic types to test_file
lorenzo-gomez-windhover Sep 15, 2020
f62bf0a
-Updated unit tests
lorenzo-gomez-windhover Sep 16, 2020
9f541be
-Removed modules completely database schema.
lorenzo-gomez-windhover Sep 21, 2020
509efcc
-Removed modules from unit tests
lorenzo-gomez-windhover Sep 22, 2020
b0b800f
-Removed modules from arguments parser
lorenzo-gomez-windhover Sep 22, 2020
7396ef0
-Fixed missing include
lorenzo-gomez-windhover Sep 22, 2020
2b3162b
-Field types are NOT NULL
lorenzo-gomez-windhover Sep 22, 2020
afbe4c5
-Added function to check if symbols exist in database; need to finish…
lorenzo-gomez-windhover Sep 23, 2020
cbbf908
-Moved sqlite callback implementation to SQLiteDB class for easier re…
lorenzo-gomez-windhover Sep 23, 2020
ed58709
-Cleaner and test-friendly implementation of handling case when symbo…
lorenzo-gomez-windhover Sep 23, 2020
358793e
-Added another test file for testing
lorenzo-gomez-windhover Sep 23, 2020
d933991
-Added unit test to exercise case when juicer is used multiple times …
lorenzo-gomez-windhover Sep 23, 2020
8735a1e
-Added more user-friendly docs about juicer usage and its schemas
lorenzo-gomez-windhover Sep 23, 2020
eab8bc1
-Updated readme
lorenzo-gomez-windhover Oct 2, 2020
fd13005
-Added includes variable to makefile
lorenzo-gomez-windhover Oct 5, 2020
b817238
-Updated readme
lorenzo-gomez-windhover Oct 5, 2020
df002a8
-Ensure current ELF version when checking for endianness
lorenzo-gomez-windhover Oct 6, 2020
f85f578
-Updated makefiles for Ubuntu 18 and 20
lorenzo-gomez-windhover Oct 6, 2020
952c105
-Removed uninitialized Dwarf_Error instances(was cuasing gcc 8 to crash)
lorenzo-gomez-windhover Oct 6, 2020
7d74d0f
-Added SQLITE_CONSTRAINT_UNIQUE as part of error handling
lorenzo-gomez-windhover Oct 6, 2020
463f4e2
-Updated unit tests
lorenzo-gomez-windhover Oct 6, 2020
e8ee2ec
-Fixed readme typo
lorenzo-gomez-windhover Oct 7, 2020
691d7b3
-Added Ubuntu 18.04 to Travis CI
lorenzo-gomez-windhover Oct 7, 2020
001216f
-Added Ubuntu 20.04 to TravisCI
lorenzo-gomez-windhover Oct 7, 2020
bbc912e
-Fixed readme typo
lorenzo-gomez-windhover Oct 7, 2020
94fa4d4
-Now we fetch the entire ELF header when detecting endianness
lorenzo-gomez-windhover Oct 7, 2020
11c66ea
-Added build status tag
lorenzo-gomez-windhover Oct 7, 2020
208841a
-Added extra check to elf records handling
lorenzo-gomez-windhover Oct 7, 2020
72810a8
-Juicer can detect 32-bit and 64-bit elf files now
lorenzo-gomez-windhover Oct 7, 2020
883c666
Minor fixes
lorenzo-gomez-windhover Oct 8, 2020
e79ad9a
-Debug output cleanup
lorenzo-gomez-windhover Oct 8, 2020
5c38922
-Readme typo
lorenzo-gomez-windhover Oct 12, 2020
0f11dd0
-Removed support for standalone arrays for now. See #5
lorenzo-gomez-windhover Oct 26, 2020
3e787bc
-Updated symbol class to be more flexible when fetching Elf objects
lorenzo-gomez-windhover Oct 27, 2020
49baf93
-Padding at the end of structures is added by Juicer now
lorenzo-gomez-windhover Oct 27, 2020
e64621f
-Added support for variable-sied generic padding at the end of structs
lorenzo-gomez-windhover Oct 27, 2020
f7e2535
-Added zero-check to padding processing
lorenzo-gomez-windhover Oct 27, 2020
373fffe
-Added support for padding in the middle of structs and at the end of…
lorenzo-gomez-windhover Oct 28, 2020
9d9329c
-Updated docs
lorenzo-gomez-windhover Oct 28, 2020
bb03279
-Naming scheme for padding types uses the number of bits
lorenzo-gomez-windhover Oct 28, 2020
fcfd7a4
-Addressed compiler warnings
lorenzo-gomez-windhover Oct 28, 2020
7eb7a67
-Updated docs on new fields schema
lorenzo-gomez-windhover Oct 29, 2020
f825d77
-Removed bit_fields table from schema
lorenzo-gomez-windhover Oct 29, 2020
09bdb7b
-Added support for bit fields
lorenzo-gomez-windhover Oct 29, 2020
5189aa8
-Added bit-packed struct for testing
lorenzo-gomez-windhover Nov 2, 2020
d350c1b
-Added bit_fields hanlding to padding handling
lorenzo-gomez-windhover Nov 3, 2020
6a74f59
-Re-oredered member variables of Field class to remove compiler warning
lorenzo-gomez-windhover Nov 4, 2020
82754f0
-Added support for void* types
lorenzo-gomez-windhover Nov 4, 2020
475ea5c
-Updated docs
lorenzo-gomez-windhover Nov 4, 2020
ae59617
-Added capability to add padding to the end of structs. Symbols that …
lorenzo-gomez-windhover Nov 5, 2020
e767a15
-Check size of fields vector when adding padding(this was causing jui…
lorenzo-gomez-windhover Nov 5, 2020
bb5136a
-Added partial support for padding between fields. Padding is only ad…
lorenzo-gomez-windhover Nov 5, 2020
8e54e06
-Fixed issue where error handling was preventing enumerations from be…
lorenzo-gomez-windhover Nov 6, 2020
41237e9
-Fixed issue where error handling was preventing enumerations from be…
lorenzo-gomez-windhover Nov 6, 2020
3e9caa3
-Fixed issue when adding padding in between fields(was not considerin…
lorenzo-gomez-windhover Nov 6, 2020
2733161
Sprint branch (#13)
lorenzo-gomez-windhover Feb 9, 2021
fdd57f0
Add vxworks support (#14)
mbenson1 Mar 11, 2021
008605c
-Multidimensional arrays. WIP.
lorenzo-gomez-windhover Sep 3, 2021
2aac84f
-Multidimensional arrays. WIP.
lorenzo-gomez-windhover Sep 3, 2021
9f1008e
Multidimensional arrays support. #19
lorenzo-gomez-windhover Sep 14, 2021
eb7ccd7
Merge remote-tracking branch 'origin/multidimensional_arrays' into mu…
lorenzo-gomez-windhover Sep 14, 2021
1a33a1f
-Basic support for multidimensional arrays.
lorenzo-gomez-windhover Sep 17, 2021
442f9cb
Merge branch 'develop' into multidimensional_arrays
lorenzo-gomez-windhover Sep 20, 2021
781137c
-Add unit test for flat array.
lorenzo-gomez-windhover Sep 20, 2021
bbcd004
-Update documentation.
lorenzo-gomez-windhover Sep 20, 2021
31b9eda
-Adding multiple dimensions to ELF. WIP.
lorenzo-gomez-windhover Sep 22, 2021
c1769c0
-Add Dimension List to Elf Model. WIP.
lorenzo-gomez-windhover Sep 23, 2021
58e962f
-Fix Field constructors to play nice with DimensionList.
lorenzo-gomez-windhover Sep 24, 2021
bdfc62c
-Write dimension lists to SQLLite.
lorenzo-gomez-windhover Sep 24, 2021
b744094
-Map fields to dimension_lists. Fixes #9 and #19.
lorenzo-gomez-windhover Sep 27, 2021
af4cf73
-Make upper bound inclusive in array dimensions. Following the DWARF4…
lorenzo-gomez-windhover Sep 27, 2021
71c3ab7
-Update unit tests.
lorenzo-gomez-windhover Sep 27, 2021
62e14e2
-Cleanup
lorenzo-gomez-windhover Sep 28, 2021
fbe0bb7
-Add DimensionList to be analogous with DWARF4 and XTCE.
lorenzo-gomez-windhover Sep 28, 2021
a6876cc
-Cleanup
lorenzo-gomez-windhover Sep 28, 2021
289bc41
-Make unit tests more readable.
lorenzo-gomez-windhover Sep 28, 2021
0afddc1
-Update tests.
lorenzo-gomez-windhover Sep 29, 2021
792536e
-Update docs.
lorenzo-gomez-windhover Sep 29, 2021
e7e76aa
-Add tests to github actions
lorenzo-gomez-windhover Oct 4, 2021
a6f9843
-Add gcovr to CI
lorenzo-gomez-windhover Oct 4, 2021
e354340
-Add gcovr to CI
lorenzo-gomez-windhover Oct 4, 2021
23fc5dd
-Add coveralls to CI.
lorenzo-gomez-windhover Oct 4, 2021
d6d52c3
-Testing for CI
lorenzo-gomez-windhover Oct 4, 2021
937a2aa
-Update docs
lorenzo-gomez-windhover Oct 5, 2021
f996bab
Merge pull request #22 from WindhoverLabs/multidimensional_arrays
lorenzo-gomez-windhover Oct 5, 2021
21be575
-Add CI badge to README
lorenzo-gomez-windhover Oct 5, 2021
267ea35
Merge branch 'develop' into docs
lorenzo-gomez-windhover Oct 5, 2021
f3f2a20
Merge pull request #23 from WindhoverLabs/docs
lorenzo-gomez-windhover Oct 5, 2021
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
163 changes: 163 additions & 0 deletions .cproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.53552615">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.53552615" moduleId="org.eclipse.cdt.core.settings" name="Default">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.53552615" name="Default" optionalBuildProperties="" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.53552615.720176646" name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.50552775" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.1423699276" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder arguments="" buildPath="${workspace_loc:/juicer}" command="make" id="cdt.managedbuild.target.gnu.builder.base.99441271" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.2146455307" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.966053231" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.cpp.compiler.option.include.paths.1102652839" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="/usr/include"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1549699429" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.932798510" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.707390520" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="/usr/lib"/>
</option>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.701571155" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.1437240112" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.1865325603" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1188093856" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.assembler.base.792526453" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1072349985" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.53552615.189983013">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.53552615.189983013" moduleId="org.eclipse.cdt.core.settings" name="Test">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.53552615.189983013" name="Test" optionalBuildProperties="" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.53552615.189983013." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.1996423753" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.889665127" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder buildPath="${workspace_loc:/juicer/unit-test}" id="cdt.managedbuild.target.gnu.builder.base.229606408" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.146106460" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1734010067" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1754596470" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.202163178" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1855097669" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.1210550622" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.231176483" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1770121367" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.assembler.base.635978412" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.444810242" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.53552615.265953179">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.53552615.265953179" moduleId="org.eclipse.cdt.core.settings" name="run-test">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.53552615.265953179" name="run-test" optionalBuildProperties="" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.53552615.265953179." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.1503120776" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.100997107" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder arguments="run-tests" buildPath="${workspace_loc:/juicer}" command="make" id="cdt.managedbuild.target.gnu.builder.base.1049536960" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.45225766" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.740606611" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.523713269" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1858772623" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1357491131" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.918855128" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.882249485" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.677411380" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.assembler.base.1066929777" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.7529226" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="juicer.null.1982648105" name="juicer"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="run-test">
<resource resourceType="PROJECT" workspacePath="/juicer"/>
</configuration>
<configuration configurationName="run-tests">
<resource resourceType="PROJECT" workspacePath="/juicer"/>
</configuration>
<configuration configurationName="Test">
<resource resourceType="PROJECT" workspacePath="/juicer"/>
</configuration>
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/juicer"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.53552615;cdt.managedbuild.toolchain.gnu.base.53552615.720176646;cdt.managedbuild.tool.gnu.c.compiler.base.932798510;cdt.managedbuild.tool.gnu.c.compiler.input.701571155">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.53552615;cdt.managedbuild.toolchain.gnu.base.53552615.720176646;cdt.managedbuild.tool.gnu.cpp.compiler.base.966053231;cdt.managedbuild.tool.gnu.cpp.compiler.input.1549699429">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
</cproject>
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Run juicer tests
on:
push:
branches:
- '*'
pull_request:
branches:
- develop

jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-18.04, 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 }}

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Catch2"]
path = Catch2
url = https://github.com/catchorg/Catch2.git
27 changes: 27 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>juicer</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
39 changes: 39 additions & 0 deletions .settings/language.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="cdt.managedbuild.toolchain.gnu.base.53552615" name="Default">
<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.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">
<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>
</project>
Loading