Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion main/ecfs_snapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ int main(int argc, char **argv)
notedesc_t *notedesc = NULL;
handle_t *handle = alloca(sizeof(handle_t));
pid_t pid = 0;
int i, j, ret, c, pie = 0;
int i, ret, c, pie = 0;
char *corefile = NULL;
char *outfile = NULL;
list_t *list_head;
Expand Down
2 changes: 1 addition & 1 deletion main/readecfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int main(int argc, char **argv)
ret = get_fd_info(desc, &fdinfo);
printf("- files/pipes/sockets (.fdinfo):\n");
for (i = 0; i < ret; i++) {
printf("\t[fd: %d:%d] perms: %lx path: %s\n", fdinfo[i].fd, (int)fdinfo[i].pos, fdinfo[i].perms, fdinfo[i].path);
printf("\t[fd: %d:%d] perms: %x path: %s\n", fdinfo[i].fd, (int)fdinfo[i].pos, fdinfo[i].perms, fdinfo[i].path);
if (fdinfo[i].net) {
switch(fdinfo[i].net) {
case NET_TCP:
Expand Down
2 changes: 1 addition & 1 deletion src/core_notes.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static void print_nt_files(struct nt_file_struct *file_maps)
notedesc_t * parse_notes_area(elfdesc_t *elfdesc)
{
notedesc_t *notedesc = (notedesc_t *)heapAlloc(sizeof(notedesc_t));
size_t i, j, len;
size_t i, len;
int tc, fpregset_count = 0, fpxregset_count = 0;
uint8_t *desc;
struct nt_file_struct *nt_files; // for parsing NT_FILE in corefile
Expand Down
1 change: 0 additions & 1 deletion src/core_text.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ int merge_exe_text_into_core(const char *path, memdesc_t *memdesc)
uint8_t *mem;
struct stat st;
int in, out, i = 0;
int data_index;

in = xopen(path, O_RDWR);
xfstat(in, &st);
Expand Down