Network licensing program, please visit www.openinventionnetwork.com
<http://www.openinventionnetwork.com>. */
+#ifndef DWARFLINT_COVERAGE_H
+#define DWARFLINT_COVERAGE_H
+
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#define WIPE(OBJ) memset (&OBJ, 0, sizeof (OBJ))
+#ifdef __cplusplus
+# define IF_CPLUSPLUS(X) X
+extern "C"
+{
+#endif
+
/* Functions and data structures for handling of address range
- coverage. We use that to find holes of unused bytes in DWARF
- string table. */
+ coverage. We use that to find holes of unused bytes in DWARF
+ string table. */
struct cov_range
{
bool coverage_find_ranges (struct coverage *cov,
bool (*cb)(uint64_t start, uint64_t length, void *data),
void *data);
+
+#ifdef __cplusplus
+# define IF_CPLUSPLUS(X) X
+}
+#endif
+
+#endif//DWARFLINT_COVERAGE_H
#include "../libdw/libdw.h"
#include "../libebl/libebl.h"
+#include "dwarflint-coverage.h"
#ifdef __cplusplus
extern "C"
struct where *wh,
uint64_t start, uint64_t end);
-# include "dwarflint-coverage.h"
-
extern char *range_fmt (char *buf, size_t buf_size, uint64_t start, uint64_t end);
struct relocation