forked from acmel/dwarves
-
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.
Signed-off-by: Domenico Andreoli <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
- Loading branch information
Showing
40 changed files
with
105 additions
and
152 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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#include "dwarves.h" | ||
#include "libbtf.h" | ||
#include "btf.h" | ||
|
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,5 +1,10 @@ | ||
#ifndef _BTF_ENCODER_H_ | ||
#define _BTF_ENCODER_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
struct cu; | ||
|
||
|
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,10 +1,8 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <argp.h> | ||
|
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,5 +1,10 @@ | ||
#ifndef _CTF_H | ||
#define _CTF_H | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#include <stdint.h> | ||
|
||
|
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,10 +1,8 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2009 Red Hat Inc. | ||
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include "dwarves.h" | ||
|
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,12 +1,10 @@ | ||
#ifndef _CTF_ENCODER_H_ | ||
#define _CTF_ENCODER_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2009 Red Hat Inc. | ||
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
struct cu; | ||
|
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,10 +1,8 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <argp.h> | ||
|
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,10 +1,8 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
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,9 +1,7 @@ | ||
/* | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
SPDX-License-Identifier: GPL-2.0-only | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
|
||
|
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,12 +1,10 @@ | ||
#ifndef _DUTIL_H_ | ||
#define _DUTIL_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
* Copyright (C) 2007..2009 Arnaldo Carvalho de Melo <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2 of the GNU General Public License as | ||
* published by the Free Software Foundation. | ||
* | ||
* Some functions came from the Linux Kernel sources, copyrighted by a | ||
* cast of dozens, please see the Linux Kernel git history for details. | ||
*/ | ||
|
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,9 +1,7 @@ | ||
/* | ||
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]> | ||
SPDX-License-Identifier: GPL-2.0-only | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#include <assert.h> | ||
|
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,12 +1,10 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007 Red Hat Inc. | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <assert.h> | ||
|
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,12 +1,10 @@ | ||
#ifndef _DWARVES_H_ | ||
#define _DWARVES_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006..2009 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
|
||
|
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,12 +1,10 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007 Red Hat Inc. | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <string.h> | ||
|
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,13 +1,11 @@ | ||
#ifndef _DWARVES_EMIT_H_ | ||
#define _DWARVES_EMIT_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
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,12 +1,10 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007..2009 Red Hat Inc. | ||
Copyright (C) 2007..2009 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <dwarf.h> | ||
|
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,12 +1,10 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007 Red Hat Inc. | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include "list.h" | ||
|
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,13 +1,11 @@ | ||
#ifndef _DWARVES_REORGANIZE_H_ | ||
#define _DWARVES_REORGANIZE_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
|
||
|
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,10 +1,8 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2009 Red Hat Inc. | ||
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <malloc.h> | ||
|
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,12 +1,10 @@ | ||
#ifndef _ELF_SYMTAB_H_ | ||
#define _ELF_SYMTAB_H_ 1 | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2009 Red Hat Inc. | ||
Copyright (C) 2009 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <stdbool.h> | ||
|
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,9 +1,7 @@ | ||
/* | ||
* Copyright 2009 Red Hat, Inc. | ||
* SPDX-License-Identifier: GPL-2.0-only | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2 of the GNU General Public License as | ||
* published by the Free Software Foundation. | ||
* Copyright 2009 Red Hat, Inc. | ||
* | ||
* Author: Peter Jones <[email protected]> | ||
*/ | ||
|
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,9 +1,7 @@ | ||
/* | ||
* Copyright 2009 Red Hat, Inc. | ||
* SPDX-License-Identifier: GPL-2.0-only | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of version 2 of the GNU General Public License as | ||
* published by the Free Software Foundation. | ||
* Copyright 2009 Red Hat, Inc. | ||
* | ||
* Author: Peter Jones <[email protected]> | ||
*/ | ||
|
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,11 +1,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]> | ||
Grow only buffer, add entries but never delete | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include "gobuffer.h" | ||
|
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,11 +1,9 @@ | ||
#ifndef _GOBUFFER_H_ | ||
#define _GOBUFFER_H_ 1 | ||
/* | ||
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]> | ||
SPDX-License-Identifier: GPL-2.0-only | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
Copyright (C) 2008 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
struct gobuffer { | ||
|
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,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#include <fcntl.h> | ||
#include <gelf.h> | ||
#include <limits.h> | ||
|
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,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#ifndef _LIBBTF_H | ||
#define _LIBBTF_H | ||
|
||
|
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,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#include <fcntl.h> | ||
#include <gelf.h> | ||
#include <limits.h> | ||
|
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,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2019 Arnaldo Carvalho de Melo <[email protected]> | ||
*/ | ||
|
||
#ifndef _LIBCTF_H | ||
#define _LIBCTF_H | ||
|
||
|
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
/* | ||
SPDX-License-Identifier: GPL-2.0-only | ||
Copyright (C) 2006 Mandriva Conectiva S.A. | ||
Copyright (C) 2006 Arnaldo Carvalho de Melo <[email protected]> | ||
Copyright (C) 2007-2008 Arnaldo Carvalho de Melo <[email protected]> | ||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of version 2 of the GNU General Public License as | ||
published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <argp.h> | ||
|
Oops, something went wrong.