Commit 2b640f5e authored by Jason Hiser's avatar Jason Hiser 🚜

Merge branch 'master' of git.zephyr-software.com:opensrc/libehp

parents b3d3a025 7879eca8
Pipeline #7465 failed with stages
in 12 minutes and 28 seconds
......@@ -24,6 +24,34 @@ do-clean-ubuntu18:
tags:
- ubuntu18
do-clean-ubuntu16:
stage: clean
script:
- ./cicd_testing/do-clean.sh
tags:
- ubuntu16
do-clean-arm32:
stage: clean
script:
- ./cicd_testing/do-clean.sh
tags:
- arm32
do-clean-arm64:
stage: clean
script:
- ./cicd_testing/do-clean.sh
tags:
- arm64
do-clean-centos76:
stage: clean
script:
- ./cicd_testing/do-clean.sh
tags:
- centos76
#
# Building
#
......@@ -34,6 +62,35 @@ do-build-ubuntu18:
tags:
- ubuntu18
do-build-ubuntu16:
stage: build
script:
- ./cicd_testing/do-build.sh
tags:
- ubuntu16
do-build-arm64:
stage: build
script:
- ./cicd_testing/do-build.sh
tags:
- arm64
do-build-arm32:
stage: build
script:
- ./cicd_testing/do-build.sh
tags:
- arm32
do-build-centos76:
stage: build
script:
- ./cicd_testing/do-build.sh
tags:
- centos76
#
# Testing
#
......@@ -44,6 +101,35 @@ do-test-ubuntu18:
tags:
- ubuntu18
do-test-ubuntu16:
stage: test
script:
- ./cicd_testing/do-test.sh
tags:
- ubuntu16
do-test-arm32:
stage: test
script:
- ./cicd_testing/do-test.sh
tags:
- arm32
do-test-arm64:
stage: test
script:
- ./cicd_testing/do-test.sh
tags:
- arm64
do-test-centos76:
stage: test
script:
- ./cicd_testing/do-test.sh
tags:
- centos76
#
# Turbo Fuzzing
......
......@@ -20,7 +20,7 @@
// @HEADER_END
// testing -- edit
#ifndef ehp_hpp
#define ehp_hpp
......
......@@ -49,14 +49,14 @@ class eh_frame_util_t
{
public:
template <class T>
static bool read_type(T &value, uint64_t &position, const uint8_t* const data, const size_t max, const bool is_be);
static bool read_type(T &value, uint64_t &position, const uint8_t* const data, const uint64_t max, const bool is_be);
template <class T>
static bool read_type_with_encoding (
const uint8_t encoding, T &value,
uint64_t &position,
const uint8_t* const data,
const size_t max,
const uint64_t max,
const uint64_t section_start_addr,
const bool is_be
);
......@@ -65,7 +65,7 @@ class eh_frame_util_t
string &s,
uint64_t &position,
const uint8_t* const data,
const size_t max);
const uint64_t max);
// see https://en.wikipedia.org/wiki/LEB128
......@@ -74,7 +74,7 @@ class eh_frame_util_t
uint64_t &result,
uint64_t &position,
const uint8_t* const data,
const size_t max
const uint64_t max
);
// see https://en.wikipedia.org/wiki/LEB128
......@@ -82,14 +82,14 @@ class eh_frame_util_t
int64_t &result,
uint64_t &position,
const uint8_t* const data,
const size_t max
const uint64_t max
);
static bool read_length(
uint64_t &act_length,
uint64_t &position,
const uint8_t* const data,
const size_t max,
const uint64_t max,
const bool is_be
);
};
......@@ -110,12 +110,12 @@ class eh_program_insn_t : public EHProgramInstruction_t
static void print_uleb_operand(
uint64_t pos,
const uint8_t* const data,
const size_t max) ;
const uint64_t max) ;
static void print_sleb_operand(
uint64_t pos,
const uint8_t* const data,
const size_t max) ;
const uint64_t max) ;
bool parse_insn(
uint8_t opcode,
......@@ -212,7 +212,7 @@ class cie_contents_t : public CIEContents_t, private eh_frame_util_t<ptrsize>
bool parse_cie(
const uint64_t &cie_position,
const uint8_t* const data,
const size_t max,
const uint64_t max,
const uint64_t eh_addr,
const bool is_be
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment