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


Quelle  import-export-sigs.js   Sprache: JAVA

 
// |jit-test| skip-if: fuzzingSafe()

// Tests that function imports and function exports descriptors have
// signatures, in the test mode only, for fuzzers.

var module = new WebAssembly.Module(wasmTextToBinary(`(module
  (import "env" "v_v" (func $vv))
  (export "v_v" (func $vv))

  (import "env" "v_i" (func $vi (param i32)))
  (export "v_i" (func $vi))

  (import "env" "v_I" (func $vI (param i64)))
  (export "v_I" (func $vI))

  (import "env" "v_f" (func $vf (param f32)))
  (export "v_f" (func $vf))

  (import "env" "memory" (memory $mem 0))
  (export "mem" (memory $mem))

  (import "env" "v_d" (func $vd (param f64)))
  (export "v_d" (func $vd))

  (import "env" "v_fd" (func $vfd (param f32) (param f64)))
  (export "v_fd" (func $vfd))

  (import "env" "v_Ififd" (func $vIfifd (param i64) (param f32) (param i32) (param f32) (param f64)))
  (export "v_Ififd" (func $vIfifd))

  (import "env" "i_v" (func $iv (result i32)))
  (export "i_v" (func $iv))

  (import "env" "I_i" (func $Ii (param i32) (result i64)))
  (export "I_i" (func $Ii))

  (import "env" "table" (table $table 0 funcref))
  (export "table" (table $table))

  (import "env" "f_d" (func $fd (param f64) (result f32)))
  (export "f_d" (func $fd))

  (import "env" "d_ffd" (func $dffd (param f32) (param f32) (param f64) (result f64)))
  (export "d_ffd" (func $dffd))
)`));

for (let desc of WebAssembly.Module.imports(module)) {
    assertEq(typeof desc.signature, 'undefined');
}
for (let desc of WebAssembly.Module.exports(module)) {
    assertEq(typeof desc.signature, 'undefined');
}

Messung V0.5
C=95 H=79 G=87

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge