update: now it builds correctly
This commit is contained in:
parent
7efe3bc830
commit
8242d8eaaf
2 changed files with 3 additions and 4 deletions
|
|
@ -6,15 +6,13 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/10/06 14:25:20 by maiboyer #+# #+# */
|
/* Created: 2024/10/06 14:25:20 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/10/06 14:27:40 by maiboyer ### ########.fr */
|
/* Updated: 2024/10/06 14:41:51 by maiboyer ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
#include "me/os/os.h"
|
#include "me/os/os.h"
|
||||||
#include "me/types.h"
|
#include "me/types.h"
|
||||||
|
|
||||||
#define BONUS 1
|
|
||||||
|
|
||||||
#if BONUS
|
#if BONUS
|
||||||
t_pid get_self_pid(void)
|
t_pid get_self_pid(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,8 @@ for line in dump_binary.stdout.split('\n'):
|
||||||
if (len (words) >= 8 and words[3] == 'FUNC'):
|
if (len (words) >= 8 and words[3] == 'FUNC'):
|
||||||
symbols_binary.add(words[7])
|
symbols_binary.add(words[7])
|
||||||
|
|
||||||
diff = list(symbols_archive - symbols_binary)
|
#diff = list(symbols_archive - symbols_binary)
|
||||||
|
diff = list(symbols_binary - symbols_archive)
|
||||||
diff.sort()
|
diff.sort()
|
||||||
for sym in diff:
|
for sym in diff:
|
||||||
print(f"{sym}")
|
print(f"{sym}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue