Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  bug1951874.js

  Sprache: JAVA
 

load(libdir + "wasm-binary.js");

let test;
assertWarning(() => {
  test = wasmEvalBinary(moduleWithSections([
    sigSection([
      { args: [], ret: [] },
    ]),
    declSection([
      0,
    ]),
    exportSection([
      { funcIndex: 0, name: "test" },
    ]),
    bodySection([
      funcBody({ locals: [], body: [
        UnreachableCode
      ] }),
    ]),

    // This name section's contents declare themselves to be one byte longer
    // than they actually are. This can cause the decoder to read into adjacent
    // sections.
    nameSection([
      funcNameSubsection([
        { name: "1234567", nameLen: 8 }, // should be 7
      ], 11), // should be 10
    ]),

    // Without extra bytes at the end of the module, the decoder will EOF
    // before the name section is finished decoding.
    customSection("extra"),
  ])).exports.test;
}, /in the 'name' custom section: 1 bytes consumed past the end/);

try {
  test();
catch (e) {
  print(e.stack);
  assertEq(e.stack.includes("1234567"), false);
}

Messung V0.5 in Prozent
C=90 H=85 G=87

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002