| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | static pthread_mutex_t arc4random_mtx = | - |
| 6 | { { 0, 0, 0, 0, 0, 0, 0, { 0, 0 } } } | - |
| 7 | ; | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | extern void *__dso_handle; | - |
| 13 | extern int __register_atfork(void (*)(void), void(*)(void), void (*)(void), void *); | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | static __inline void | - |
| 20 | _getentropy_fail(void) | - |
| 21 | { | - |
| 22 | raise( | - |
| 23 | 9 | - |
| 24 | ); | - |
| 25 | } never executed: end of block | 0 |
| 26 | | - |
| 27 | static volatile sig_atomic_t _rs_forked; | - |
| 28 | | - |
| 29 | static __inline void | - |
| 30 | _rs_forkhandler(void) | - |
| 31 | { | - |
| 32 | _rs_forked = 1; | - |
| 33 | } never executed: end of block | 0 |
| 34 | | - |
| 35 | static __inline void | - |
| 36 | _rs_forkdetect(void) | - |
| 37 | { | - |
| 38 | static pid_t _rs_pid = 0; | - |
| 39 | pid_t pid = getpid(); | - |
| 40 | | - |
| 41 | | - |
| 42 | if (_rs_pid == 0| TRUE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
| | FALSE | evaluated 291159 times by 26 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- tlstest
- ...
|
|| _rs_pid == 1| TRUE | never evaluated | | FALSE | evaluated 291159 times by 26 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- tlstest
- ...
|
|| _rs_pid != pid| TRUE | never evaluated | | FALSE | evaluated 291159 times by 26 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- tlstest
- ...
|
|| _rs_forked| TRUE | never evaluated | | FALSE | evaluated 291159 times by 26 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- tlstest
- ...
|
) { | 0-291159 |
| 43 | _rs_pid = pid; | - |
| 44 | _rs_forked = 0; | - |
| 45 | if (rs| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
) | 0-182 |
| 46 | memset(rs, 0, sizeof(*rs)); never executed: memset(rs, 0, sizeof(*rs)); | 0 |
| 47 | }executed 182 times by 27 tests: end of blockExecuted by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
| 182 |
| 48 | }executed 291341 times by 27 tests: end of blockExecuted by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
| 291341 |
| 49 | | - |
| 50 | static __inline int | - |
| 51 | _rs_allocate(struct _rs **rsp, struct _rsx **rsxp) | - |
| 52 | { | - |
| 53 | if ((*| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
rsp = mmap(| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 54 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 55 | , sizeof(**rsp), | TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 56 | 0x1| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 57 | || TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 58 | 0x2| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 59 | ,| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 60 | | TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 61 | 0x20| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 62 | || TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 63 | 0x02| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 64 | , -1, 0)) == | TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 65 | ((void *) -1)| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 66 | ) | - |
| 67 | return never executed: return (-1); (-1);never executed: return (-1); | 0 |
| 68 | | - |
| 69 | if ((*| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
rsxp = mmap(| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 70 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 71 | , sizeof(**rsxp), | TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 72 | 0x1| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 73 | || TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 74 | 0x2| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 75 | ,| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 76 | | TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 77 | 0x20| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 78 | || TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 79 | 0x02| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 80 | , -1, 0)) == | TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 81 | ((void *) -1)| TRUE | never evaluated | | FALSE | evaluated 182 times by 27 testsEvaluated by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
|
| 0-182 |
| 82 | ) { | - |
| 83 | munmap(*rsp, sizeof(**rsp)); | - |
| 84 | *rsp = | - |
| 85 | ((void *)0) | - |
| 86 | ; | - |
| 87 | return never executed: return (-1); (-1);never executed: return (-1); | 0 |
| 88 | } | - |
| 89 | | - |
| 90 | __register_atfork( | - |
| 91 | ((void *)0) | - |
| 92 | , | - |
| 93 | ((void *)0) | - |
| 94 | , (_rs_forkhandler), __dso_handle); | - |
| 95 | returnexecuted 182 times by 27 tests: return (0);Executed by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
(0);executed 182 times by 27 tests: return (0);Executed by:- arc4randomforktest
- bntest
- cipher_list
- cipherstest
- clienttest
- configtest
- dhtest
- dsatest
- ecdhtest
- ecdsatest
- ectest
- exptest
- igetest
- libcrypto.so.44.0.1
- mont
- pkcs7test
- randtest
- rsa_test
- servertest
- ssl_versions
- ssltest
- timingsafe
- tls_ext_alpn
- tls_prf
- tlsexttest
- ...
| 182 |
| 96 | } | - |
| | |