This commit is contained in:
Gregory 2019-07-27 20:46:16 +03:00
parent 7274e13075
commit d122896244
3 changed files with 14 additions and 1 deletions

View file

@ -6,7 +6,7 @@
/* By: gtertysh <gtertysh@student.unit.ua> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/05/06 22:37:16 by foton #+# #+# */
/* Updated: 2019/07/27 19:50:54 by gtertysh ### ########.fr */
/* Updated: 2019/07/27 20:07:37 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
@ -16,6 +16,7 @@
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/fat.h>
#include <ar.h>
#include <stddef.h>
typedef struct symtab_command t_symtab_command;
@ -78,6 +79,11 @@ void fat
t_nm_file *file
);
void ar
(
t_nm_file *file
);
void macho64
(
t_nm_file *file

View file

@ -33,6 +33,7 @@ sources = [
'src/macho64.c',
'src/macho32.c',
'src/fat.c',
'src/ar.c',
'src/print_address.c',
'src/find_symbol_table_command.c',
]

6
src/ar.c Normal file
View file

@ -0,0 +1,6 @@
#include "ft_nm.h"
void ar(t_nm_file *file)
{
(void)file;
}