Skip to content

changes to compile on linux with gcc v12#16

Open
CristiMacovei wants to merge 5 commits intoplanetbeing:masterfrom
malus-security:testing
Open

changes to compile on linux with gcc v12#16
CristiMacovei wants to merge 5 commits intoplanetbeing:masterfrom
malus-security:testing

Conversation

@CristiMacovei
Copy link

Made changes to compile the project on linux targets using gcc version 12.2.

  • a variable named debug was defined in two places in dfu-util/

    • changed dfu-util/dfu.h: removed declaration of debug variable
    • changed dfu-util/sam7dfu.c: added extern declaration of debug
    • kept definition in dfu-util/main.c
  • a variable named endianness was already defined and redefined inside ipsw-patch/main.c and xpwn/src/xpwn.cpp

    • added extern modifier to the declaration

Signed-off-by: Nicolae-Cristian Macovei <nicolae.macovei1412@stud.acs.upb.ro>
Signed-off-by: Nicolae-Cristian Macovei <nicolae.macovei1412@stud.acs.upb.ro>
This commit makes docker `COPY` from the local files, instead of pulling the codebase from git.

In addition, good-practice changes have been added to the `Dockerfile`, such as replacing `apt`
with `apt-get` and adding a newline to the end of the file.

Signed-off-by: Nicolae-Cristian Macovei <nicolae.macovei1412@stud.acs.upb.ro>
Signed-off-by: Nicolae-Cristian Macovei <nicolae.macovei1412@stud.acs.upb.ro>
Signed-off-by: Nicolae-Cristian Macovei <nicolae.macovei1412@stud.acs.upb.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant