Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

IPC 11.6 - Neue Version erschienen

Danke vorab für die Infos.
Ich warte ab bis sich @Alex wieder hier meldet.

Vielleicht kann er mir schreiben wie die richtigen schritte sind mit Debian 12.8.0 (32Bit) + IPC

Danke
 
nur mal zur info:

bei Debian12 ist OpenSSL3 preinstalled.
das heisst, man müsste OpenSSL1.1 nachinstallieren, was aber bei Debian12 nicht so einfach ist,
da nicht mehr supported und nicht mehr auf dem primären Feed.
das Verlinken von SSL3 auf SSL1 würde ich nicht empfehlen, da fällst du beizeiten damit auf die Nase.

und mit deiner ominösen Oscam würde ich eher den Ersteller nach einer SSL3-compatiblen Version fragen.
 
Hi,

danke für die Info.
Aso deswegen ist das so, verstehe es jetzt Danke vielmals.
Ok dann muss ich wohl nachfragen beim Ersteller.
 
PlanB wäre ein Debian11 zu installieren, und dann mit dem ipc-script weiter zu machen.
dann haste OpenSSL 1.1.x wieder, und kannst deine olle Oscam weiter benutzen.
 
Hallo.
Gibts OSEmu nicht mehr? im aktuellen IPC gobts zwar den Befehl oe compile noch, aber installieren kann ich OSEmu nicht mehr.
 
Lies mal ab hier:
 
gibts ja aktuelle softcam.key , wozu ist die dann da?

Edit:
Wenn du in der Makefile CC ?= gcc durch
CC = $(CROSS_DIR)$(CROSS)gcc
ersetzt, funktioniert es wieder.
hmmm, leider nein.

Code:
/bin/sh: 1: cc: not found
make: cc: Datei oder Verzeichnis nicht gefunden
make: *** [Makefile:35: cscrypt/bn_ctx.o] Fehler 127
 
Zuletzt bearbeitet von einem Moderator:
Bash:
UNAME := $(shell uname -s)
CC = $(CROSS_DIR)$(CROSS)gcc

STRIP ?= strip
TARGETHELP := $(shell $(CC) --target-help 2>&1)

ifneq (,$(findstring sse2,$(TARGETHELP)))
CFLAGS=-I. -O3 -funroll-loops -fomit-frame-pointer -mmmx -msse -msse2 -msse3
else ifneq (,$(findstring mplt,$(TARGETHELP)))
CFLAGS=-I. -O3 -funroll-loops -fomit-frame-pointer -mplt
else ifneq (,$(findstring m4-300,$(TARGETHELP)))
CFLAGS=-I. -O2 -fPIC -funroll-loops -fomit-frame-pointer -m4-300
else
CFLAGS=-I. -O2 -funroll-loops
endif

LFLAGS=-lpthread
CC_WARN=-W -Wall -Wshadow -Wredundant-decls
SRCS = cscrypt/bn_ctx.c cscrypt/bn_lib.c cscrypt/bn_exp.c cscrypt/bn_sqr.c cscrypt/bn_div.c \
cscrypt/bn_asm.c cscrypt/bn_shift.c cscrypt/bn_word.c cscrypt/bn_add.c cscrypt/bn_mul.c \
cscrypt/aes.c cscrypt/i_cbc.c cscrypt/i_ecb.c cscrypt/i_skey.c cscrypt/mem.c cscrypt/des.c \
cscrypt/md5.c cscrypt/viades.c ffdecsa/ffdecsa.c \
st20.c dre2overcrypt.c via3surenc.c \
helpfunctions.c module-emulator-stream.c module-emulator-osemu.c OSEmu.c
Q = @
SAY = @echo
OBJS = $(SRCS:.c=.o)
DEPS = $(SRCS:.c=.d)
BIN = OSEmu

all: OSEmu

-include $(OBJS:.o=.d)

%.o: %.c
        $(Q)$(CC) $(CC_WARN) -c -o $@ $< $(CFLAGS)
        $(SAY) "CC      $<"
        $(Q)$(CC) $(CC_WARN) -MM $(CFLAGS) $*.c > $*.d

OSEmu: $(OBJS)
ifeq ($(UNAME),Darwin)
        $(Q)$(CC) $(CC_WARN) -o $(BIN) $(OBJS) $(CFLAGS) $(LFLAGS)
else ifdef ANDROID_NDK
        $(Q)$(CC) $(CC_WARN) -o $(BIN) $(OBJS) $(CFLAGS) $(LFLAGS)
else ifdef ANDROID_STANDALONE_TOOLCHAIN
        $(Q)$(CC) $(CC_WARN) -o $(BIN) $(OBJS) $(CFLAGS) $(LFLAGS)
else
        touch SoftCam.Key
        $(Q)$(CC) $(CC_WARN) -o $(BIN) $(OBJS) $(CFLAGS) $(LFLAGS) -Wl,--format=binary -Wl,SoftCam.Key -Wl,--format=default
endif
        $(STRIP) $(BIN)

clean:
        rm -rf $(BIN) $(OBJS) $(DEPS)

.PHONY: OSEmu

Mit obiger Makefile lässt es sich unter Ubuntu 22.04 64 Bit bauen. Auch wenn bei dem 8 Jahre alten Code natürlich tausend Warnings kommen

Code:
administrator@linuxserver:~/OSEmu$ make
CC      cscrypt/bn_ctx.c
cscrypt/bn_lib.c: In function ‘bn_expand2’:
cscrypt/bn_lib.c:442:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  442 |                                 A[2] = B[2];
      |                                 ~~~~~^~~~~~
cscrypt/bn_lib.c:443:25: note: here
  443 |                         case 2:
      |                         ^~~~
cscrypt/bn_lib.c:444:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
  444 |                                 A[1] = B[1];
      |                                 ~~~~~^~~~~~
cscrypt/bn_lib.c:445:25: note: here
  445 |                         case 1:
      |                         ^~~~
cscrypt/bn_lib.c: In function ‘BN_copy’:
cscrypt/bn_lib.c:528:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  528 |                 A[2] = B[2];
      |                 ~~~~~^~~~~~
cscrypt/bn_lib.c:529:9: note: here
  529 |         case 2:
      |         ^~~~
cscrypt/bn_lib.c:530:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  530 |                 A[1] = B[1];
      |                 ~~~~~^~~~~~
cscrypt/bn_lib.c:531:9: note: here
  531 |         case 1:
      |         ^~~~
CC      cscrypt/bn_lib.c
CC      cscrypt/bn_exp.c
CC      cscrypt/bn_sqr.c
CC      cscrypt/bn_div.c
CC      cscrypt/bn_asm.c
CC      cscrypt/bn_shift.c
CC      cscrypt/bn_word.c
CC      cscrypt/bn_add.c
CC      cscrypt/bn_mul.c
CC      cscrypt/aes.c
In file included from cscrypt/i_cbc.c:61:
cscrypt/i_cbc.c: In function ‘idea_cbc_encrypt’:
cscrypt/idea_lcl.h:99:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
   99 |         case 8: l2 =((unsigned long)(*(--(c))))    ; \
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:100:9: note: here
  100 |         case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:100:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  100 |         case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
      |                   ^~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:101:9: note: here
  101 |         case 6: l2|=((unsigned long)(*(--(c))))<<16; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:101:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  101 |         case 6: l2|=((unsigned long)(*(--(c))))<<16; \
      |                   ^~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:102:9: note: here
  102 |         case 5: l2|=((unsigned long)(*(--(c))))<<24; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:102:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  102 |         case 5: l2|=((unsigned long)(*(--(c))))<<24; \
      |                   ^~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:103:9: note: here
  103 |         case 4: l1 =((unsigned long)(*(--(c))))    ; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:103:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  103 |         case 4: l1 =((unsigned long)(*(--(c))))    ; \
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:104:9: note: here
  104 |         case 3: l1|=((unsigned long)(*(--(c))))<< 8; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:104:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  104 |         case 3: l1|=((unsigned long)(*(--(c))))<< 8; \
      |                   ^~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:105:9: note: here
  105 |         case 2: l1|=((unsigned long)(*(--(c))))<<16; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:105:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  105 |         case 2: l1|=((unsigned long)(*(--(c))))<<16; \
      |                   ^~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:106:9: note: here
  106 |         case 1: l1|=((unsigned long)(*(--(c))))<<24; \
      |         ^~~~
cscrypt/i_cbc.c:92:25: note: in expansion of macro ‘n2ln’
   92 |                         n2ln(in, tin0, tin1, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:114:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  114 |         case 8: *(--(c))=(unsigned char)(((l2)    )&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:115:9: note: here
  115 |         case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:115:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  115 |         case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:116:9: note: here
  116 |         case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:116:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  116 |         case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:117:9: note: here
  117 |         case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:117:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  117 |         case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:118:9: note: here
  118 |         case 4: *(--(c))=(unsigned char)(((l1)    )&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:118:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  118 |         case 4: *(--(c))=(unsigned char)(((l1)    )&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:119:9: note: here
  119 |         case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:119:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  119 |         case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:120:9: note: here
  120 |         case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:120:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
  120 |         case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
cscrypt/idea_lcl.h:121:9: note: here
  121 |         case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); \
      |         ^~~~
cscrypt/i_cbc.c:134:25: note: in expansion of macro ‘l2nn’
  134 |                         l2nn(tout0, tout1, out, l + 8);
      |                         ^~~~
CC      cscrypt/i_cbc.c
CC      cscrypt/i_ecb.c
CC      cscrypt/i_skey.c
CC      cscrypt/mem.c
cscrypt/des.c: In function ‘xxor’:
cscrypt/des.c:715:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  715 |                 for(i = 8; i < 16; ++i)
      |                            ~~^~~~
cscrypt/des.c:719:9: note: here
  719 |         case 8:
      |         ^~~~
cscrypt/des.c:720:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  720 |                 for(i = 4; i < 8; ++i)
      |                            ~~^~~
cscrypt/des.c:724:9: note: here
  724 |         case 4:
      |         ^~~~
CC      cscrypt/des.c
CC      cscrypt/md5.c
CC      cscrypt/viades.c
CC      ffdecsa/ffdecsa.c
CC      st20.c
CC      dre2overcrypt.c
CC      via3surenc.c
helpfunctions.c: In function ‘i2b_buf’:
helpfunctions.c:160:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  160 |                 b[2] = (i    ) & 0xff;
      |                 ~~~~~^~~~~~~~~~~~~~~~
helpfunctions.c:161:9: note: here
  161 |         case 4:
      |         ^~~~
CC      helpfunctions.c
CC      module-emulator-stream.c
module-emulator-osemu.c: In function ‘xxor’:
module-emulator-osemu.c:722:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  722 |                 for(i = 8; i < 16; ++i)
      |                            ~~^~~~
module-emulator-osemu.c:726:9: note: here
  726 |         case 8:
      |         ^~~~
module-emulator-osemu.c:727:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
  727 |                 for(i = 4; i < 8; ++i)
      |                            ~~^~~
module-emulator-osemu.c:731:9: note: here
  731 |         case 4:
      |         ^~~~
In file included from /usr/include/string.h:535,
                 from globals.h:10,
                 from module-emulator-osemu.c:1:
In function ‘strncpy’,
    inlined from ‘WriteKeyToFile’ at module-emulator-osemu.c:141:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
module-emulator-osemu.c: In function ‘Irdeto2CalculateHash’:
module-emulator-osemu.c:724:37: warning: array subscript 8 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 8 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 9 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 9 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 10 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 10 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 11 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 11 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 12 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 12 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 13 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 13 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 14 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 14 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:37: warning: array subscript 15 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                                   ~~^~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
module-emulator-osemu.c:724:33: warning: array subscript 15 is outside array bounds of ‘uint8_t[8]’ {aka ‘unsigned char[8]’} [-Warray-bounds]
  724 |                         data[i] = v1[i] ^ v2[i];
      |                         ~~~~~~~~^~~~~~~~~~~~~~~
module-emulator-osemu.c:2306:17: note: while referencing ‘cbuff’
 2306 |         uint8_t cbuff[8];
      |                 ^~~~~
In file included from /usr/include/string.h:535,
                 from globals.h:10,
                 from module-emulator-osemu.c:1:
In function ‘strncpy’,
    inlined from ‘read_emu_keyfile’ at module-emulator-osemu.c:530:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
CC      module-emulator-osemu.c
OSEmu.c: In function ‘do_daemon’:
OSEmu.c:44:17: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   44 |         { (void)chdir("/"); }
      |                 ^~~~~~~~~~
CC      OSEmu.c
touch SoftCam.Key
strip OSEmu
 
Zurück
Oben