Select one of the symbols to view example projects that use it.
 
Outline
#include "config.h"
#include <target/image.h>
advanced_elf_image
advanced_elf_image_open(struct advanced_elf_image *, const char *);
advanced_elf_image_close(struct advanced_elf_image *);
advanced_elf_image_find_symbol(struct advanced_elf_image *, const char *);
advanced_elf_image_read_section(struct advanced_elf_image *, int, void *, size_t, size_t *);
Files
loading...
CodeScopeDevelopment ToolsOpenOCDsrc/flash/advanced_elf_image.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/*************************************************************************** * Copyright (C) 2016 by Sysprogs * * sysprogs@sysprogs.com * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************//* ... */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <target/image.h> struct advanced_elf_image { struct fileio *fileio; Elf32_Ehdr header; Elf32_Shdr *sections; int num_sections; char *strtab; int strtab_size; Elf32_Sym *symbols; int num_symbols; ...}; int advanced_elf_image_open(struct advanced_elf_image *image, const char *URL); void advanced_elf_image_close(struct advanced_elf_image *image); uint32_t advanced_elf_image_find_symbol(struct advanced_elf_image *image, const char *symbol_name); int advanced_elf_image_read_section(struct advanced_elf_image *image, int section, void *buf, size_t buf_size, size_t *done);