Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/security/nss/fuzz/targets/lib/tls/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 855 B image not shown  

Quelle  socket.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef TLS_SOCKET_H_
#define TLS_SOCKET_H_

#include <cstdint>

#include "dummy_io.h"
#include "prinrval.h"
#include "prio.h"

namespace TlsSocket {

class DummyPrSocket : public DummyIOLayerMethods {
 public:
  DummyPrSocket(const uint8_t *buf, size_t len) : buf_(buf), len_(len) {}

  int32_t Read(PRFileDesc *fd, void *data, int32_t len) override;
  int32_t Write(PRFileDesc *fd, const void *buf, int32_t length) override;
  int32_t Recv(PRFileDesc *fd, void *buf, int32_t buflen, int32_t flags,
               PRIntervalTime to) override;

 private:
  const uint8_t *buf_;
  size_t len_;
};

}  // namespace TlsSocket

#endif  // TLS_SOCKET_H_

Messung V0.5 in Prozent
C=81 H=85 G=82

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© 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.