devnexen
Repos
269
Followers
88
Following
79

The PHP Interpreter

C
34369
7008

Simple C client for using DeviceAtlas Cloud Service

C
0
0

Events

issue comment
copy() target is blank in PHP 8.2.0-rc3

I built the same environment but was unable to reproduce the issue, always successful copies. Is it possible to get a bit more context or a minimum reproducer ?

Created at 9 hours ago
push

Fix grammar in code example comment (#1861)

Updates a comment in the example as "do something here" is a more complete sentence than "do here something".

Created at 10 hours ago
pull request closed
Fix grammar in code example comment

Updates a comment in the example as "do something here" is a more complete sentence than "do here something".

Created at 10 hours ago
pull request opened
fix build for non linux/BSD platforms.
Created at 11 hours ago
create branch
devnexen create branch solaris_build_fix
Created at 11 hours ago

Add double free detection using slab bitmap for debug build

Add a sanity check for double free issue in the arena in case that the tcache has been flushed.

Refactor the remote / cross thread cache bin stats reading

Refactored cache_bin.h so that only one function is racy.

error: implicit declaration of function 'pthread_create_fptr_init' is invalid in C99

./autogen.sh
&& ./configure --prefix=/usr/local --enable-static --enable-autogen --enable-xmalloc --with-static-libunwind=/usr/local/lib/libunwind.a --enable-lazy-lock --with-jemalloc-prefix=''
&& make -j16

... gcc -std=gnu11 -Werror=unknown-warning-option -Wall -Wextra -Wshorten-64-to-32 -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -pipe -g3 -Wimplicit-fallthrough -O3 -funroll-loops -fPIC -DPIC -c -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/edata_cache.sym.o src/edata_cache.c src/background_thread.c:768:6: error: implicit declaration of function 'pthread_create_fptr_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration] pthread_create_fptr_init()) { ^ src/background_thread.c:768:6: note: did you mean 'pthread_create_wrapper_init'? src/background_thread.c:34:1: note: 'pthread_create_wrapper_init' declared here pthread_create_wrapper_init(void) { ^ 1 error generated. make: *** [src/background_thread.sym.o] Error 1 make: *** Waiting for unfinished jobs....

Making jemalloc max stack depth a runtime option

Add arena-level name.

An arena-level name can help identify manual arenas.

Fix a bug in C++ integration test.

Add vcpkg installation instructions

Created at 12 hours ago

Clarify [T]::select_nth_unstable* return values

In cases where the nth element is not unique within the slice, it is not correct to say that the values in the returned triplet include ones for "all elements" less/greater than that at the given index: indeed one (or more) such values would then laso contain values equal to that at the given index.

The text proposed here clarifies exactly what is returned, but in so doing it is also documenting an implementation detail that previously wasn't detailed: namely that the return slices are slices into the reordered slice. I don't think this can be contentious, because the lifetimes of those returned slices are bound to that of the original (now reordered) slice—so there really isn't any other reasonable implementation that could have this behaviour; but nevertheless it's probably best if @rust-lang/libs-api give it a nod?

Fixes #97982 r? m-ou-se

@rustbot label +A-docs C-bug +T-libs-api

make Condvar, Mutex, RwLock const constructors work with unsupported impl

Recover error strings on Unix from_lossy_utf8

Some language settings can result in unreliable UTF-8 being produced. This can result in failing to emit the error string, panicking instead. from_lossy_utf8 allows us to assume these strings usually will be fine.

Add long description and test for E0311

Adds a long description and unit test for the E0311 compiler error.

fix updated stderr outputs

Apply suggestions from code review

Co-authored-by: Guillaume Gomez guillaume1.gomez@gmail.com

fix line lengths

Use internal iteration in Iterator::{cmp_by, partial_cmp_by, eq_by}

Don't drop parent substs when we have no generic parameters

Simplify create_substs_for_associated_item

Improve E0311.md description

actually fix typo this time

Improve description again

-- update summary based on review -- rewrite explanation to be more clear and correct

fix wrapping

Fix rust-doc error

There was a partial rust code block in the readme that was invalid because of a missing line. I inlined the code snippet into the text to fix the error. This also improves readability a bit.

Review updates: simpler MWE and docs

  • use the simpler minimum working example from the review
  • add an alterate "fix" that helps make the cause of the error more clear
  • attempt to add an improved description of what is going on

fix trailing ]

review updates to E0311 description

Make std::os::fd public.

std::os::fd defines types like OwnedFd and RawFd and is common between Unix and non-Unix platforms that share a basic file-descriptor concept. Rust currently uses this internally to simplify its own code, but it would be useful for external users in the same way, so make it public.

This means that OwnedFd etc. will all appear in three places, for example on unix platforms:

  • std::os::fd::OwnedFd
  • std::os::unix::io::OwnedFd
  • std::os::unix::prelude::OwnedFd

Update asrawfd.js.

Created at 12 hours ago

Return immediately when FD_SETSIZE is exceeded (#9602)

[ci skip] NEWS

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: [ci skip] NEWS Return immediately when FD_SETSIZE is exceeded (#9602)

[ci skip] NEWS

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: [ci skip] NEWS [ci skip] NEWS Return immediately when FD_SETSIZE is exceeded (#9602)

[ci skip] NEWS

Merge branch 'PHP-8.2'

  • PHP-8.2: [ci skip] NEWS [ci skip] NEWS [ci skip] NEWS Return immediately when FD_SETSIZE is exceeded (#9602)

Use --EXTENSIONS-- section for newly added tests

As of PHP 8.1.0, the `--EXTENSIONS-- section is properly supported, and CIs may make use of that (our AppVeyor CI does). Thus it is important to list required extensions there, since otherwise they may not be loaded, causing the test to be skipped, or worse, to be borked.

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Use --EXTENSIONS-- section for newly added tests

Merge branch 'PHP-8.2'

  • PHP-8.2: Use --EXTENSIONS-- section for newly added tests

gh9590.phpt requires ext/posix

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: gh9590.phpt requires ext/posix

Merge branch 'PHP-8.2'

  • PHP-8.2: gh9590.phpt requires ext/posix
Created at 13 hours ago
pull request opened
libdislocator adding netbsd's reallocarr
Created at 15 hours ago

remove race condition

fix

add ninja to apt install readme

Update binaryonly_fuzzing.md with zafl

Tidy-up zafl info

Merge pull request #1122 from FoRTE-Research/dev

Update binaryonly_fuzzing.md with zafl

fix timeout bug in afl tools

frida mode display command line on mac

Merge pull request #1127 from devnexen/frida_macos_display_cmdline

frida mode display command line on mac

updated unicorn bindings

updated uc dependencies

fix

fix

fix gcc warning

frida mode musl build fix

Merge pull request #1128 from devnexen/frida_mode_musl_build_fix

frida mode musl build fix

frida mode musl further changes display stack trace

Merge pull request #1129 from devnexen/frida_mode_musl_further

frida mode musl further changes display stack trace

Update real_map_size when doing a realloc

Merge pull request #1130 from wtdcode/dev

Wrong map size when a realloc happens

Created at 15 hours ago
create branch
devnexen create branch reallocarr
Created at 15 hours ago

libdislocator apply few attributes for few compiler optimisations.

Merge pull request #1512 from devnexen/libdislocator_attrs

libdislocator apply few attributes for few compiler optimisations.

code format

Fix LLVM 15 build

By removing ModuleSanitizerCoverageLegacyPass, which is completely unused.

There was some confusing between the initialization function for the upstream sancov pass and AFLs own implementation.

Allow building LTO component with LLVM 15

Fix naming clash between AFL's sancov LTO pass and upstream sancov pass

There was some confusion here due to name reuse. The initializeModuleSanitizerCoverageLegacyPassPass() function was actually calling the initialization of the upstream pass (which no longer supports legacy PM and thus fails to build on LLVM 15). The intention was to call the LTO initialization here.

Fix this by renaming symbols to avoid collision.

Fixed typo in README.lto.md (#1517)

typo fixed

Fix loading and registeration of LTO pass for new pass manager

Merge pull request #1518 from nikic/fix-lto

Fix LTO with LLVM 15

update changelog

try LLVMFuzzerRunDriver support

forgot correct callback

Fixed unicorn_mode for aarch64, update unicorn

undo tmp changes in unicorn_mode

add temporary fix for uc until unicorn publishes a new release

Correctly multi-process unicorn builds

Re-enabled unicorn for aarch64

Added unicorn changes to changelog

Typo

fix LLVMFuzzerRunDriver

Created at 16 hours ago

Add ability to use virtual dispatch to StagesTuple (#801)

  • Add ability to use virtual dispatch to stagesTuple

  • Fix lint

Adding CPSR register for arm qemu (#800)

Disable ObserversOwnedMap due to new Rust error (#807)

Co-authored-by: Andrea Fioraldi andrea.fioraldi@trellix.com

Additional errors only in test (#809)

Adding fork feature passing from libafl_qemu to libafl crate (#806)

  • Adding fork feature passing from libafl_qemu to libafl crate

  • Removing patches from a different PR

  • Adding fork as a default feature for libafl_qemu

  • Removing rand_trait feature from libafl_qemu

Hide prelude behind feature flag (#782)

  • Hide prelude behind feature flag

  • make prelude default

Created at 17 hours ago

Adding SDL_Assume macro to give hint to the optimiser with a given condition generating less instructions.

Created at 17 hours ago

Adding SDL_Assume macro to give hint to the optimiser with a given condition generating less instructions.

Created at 17 hours ago
issue comment
Adding SDL_Assume macro to give hint to the optimiser

oh I did not know you supported sdk so far back...

#elif defined(clang) || (defined(GNUC) && (GNUC > 4 || (GNUC == 4 && GNUC_MINOR > 4))) clang is superflous here, even clang defines GNUC

Created at 18 hours ago

Adding SDL_Assume macro to give hint to the optimiser with a given condition generating less instructions.

Created at 22 hours ago
pull request opened
Adding SDL_Assume macro to give hint to the optimiser

with a given condition generating less instructions.

Created at 22 hours ago
create branch
devnexen create branch SDL_assume
Created at 22 hours ago

Set DYLIB_COMPATIBILITY_VERSION to DYLIB_CURRENT_VERSION to match autotools

Autotools sets both versions to the same value, so Xcode and CMake need to match for the libraries to be compatible between the different builds.

See these for details: https://github.com/libsdl-org/sdl12-compat/pull/207 https://github.com/libsdl-org/SDL/issues/2934 https://stackoverflow.com/questions/67055770/usage-of-current-version-and-compatibility-version-on-macos

Note that the Xcode DYLIB_COMPATIBILITY_VERSION should always match DYLIB_CURRENT_VERSION

CMake doesn't need any special handling

testplatform: Add LSX and LASX checks

testmouse: Allow drawing rectangles as well as lines

Only use CETCOMPAT on x86/x64 platforms

Fixes https://github.com/libsdl-org/SDL/issues/6173

Assume that stdint.h is available on Windows with compilers other than MSVC <= 2008

Added support for a ShanWan PS2 -> PS3 USB converter to the HIDAPI driver

HIDAPI_DriverPS3_UpdateEffects: kill bad use of & operator on effects[]

Actually, DYLIB_COMPATIBILITY_VERSION shouldn't be updated for a stable point release

@smcv

Note that we should regenerate configure before running test/versioning.sh

Removed unused variable

cmake: fix location of SDL2::SDL2test imported library

Add build target to Xcode project to create an xcframework for iOS (#6188)

Added support for the Wii Remote with the Classic Controller Pro extension

Also changed event order to: buttons, triggers, axes, for consistency with other drivers

Added support for the accelerometer in the Wii Remote

fix DYLIB version inconsistencies and test failures after #6188.

Fix compatibility with Windows XP

Fix https://github.com/libsdl-org/SDL/issues/6191

Refactored for similarity to surrounding code

Add GLES2 shader prologue infrastructure. (by @eloj)

There is supposedly an OpenGL ES2 target that does not support precision specifiers. However, the existing logic to detect this is currently broken in two ways:

  1. There's a typo of the #ifdef as #if.
  2. Checking for GL_FRAGMENT_PRECISION_HIGH can not be the correct way to detect this platform. Other targets, including some desktops, will also not have this defined (for various reasons).

Because some of the shader code is missing precision specifiers, and because a default is ONLY provided if GL_FRAGMENT_PRECISION_HIGH is set, these other targets break.

Instead of 'hard-coding' the prologue string into shaders in the C source, use our ability to provide a list of strings to glShaderSource instead, leaving the determination to run-time.

This commit closes https://github.com/libsdl-org/SDL/pull/6182

Created at 23 hours ago
pull request opened
porting ZEND_ASSUME for clang for the optimiser with

a given condition.

using __builtin_assume instead of the actual generic solution, disable -Wassume warning for the ZEND_ASSERT cases.

Created at 1 day ago
create branch
devnexen create branch builtin_assume_clang
Created at 1 day ago

socket module add SO_ATTACH_REUSEPORT_CPBF for Linux.

to be used in conjunction with SO_REUSPORT, giving a greater control over how we bind a socket instead of the round robin workflow, we do instead attach to the processor id as :

  • we assign the processor_id to A in the BPF filter.
  • then returns A.

in other words, a more modern version of SO_INCOMING_CPU (ie can have a per worker notion we do not use here). Closes #8062

add missing CVEs

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: add missing CVEs

add missing CVEs

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: add missing CVEs add missing CVEs

Merge branch 'PHP-8.2'

  • PHP-8.2: add missing CVEs add missing CVEs

Clarify memory usage and slightly improve sapi_read_post_data

This is a result of checking GH-8800 which assumed potential memory leaks here. Even though it was not the case in reality, the function deserves a bit of clarification to prevent similar attempts in the future.

Add support for binary and octal number prefixes for INI settings

Closes GH-9560

Add support for binary and octal number prefixes for INI settings

Closes GH-9560

Fix UPGRADING by adding DBA constants

Move object/class redundancy check into union type handling

As such a redundancy can only happen for union types

Fix GH-9556 "iterable" alias "array|Traversable" breaks PHP 8.1 code

Closes GH-9558

Declare main constants in stubs - part 1 (#9616)

Move object/class redundancy check into union type handling

As such a redundancy can only happen for union types

Fix GH-9556 "iterable" alias "array|Traversable" breaks PHP 8.1 code

Closes GH-9558

Declare ext/standard constants in stubs - part 8 (#9615)

Make socket path shorter for ext/sockets/tests/socket_cmsg_{rights|credentials}.phpt

When running in CI it fails when path/address is longer 108

Merge branch 'PHP-8.0' into PHP-8.1

Merge branch 'PHP-8.1' into PHP-8.2

Merge branch 'PHP-8.2'

Created at 1 day ago
pull request opened
update string comparisons possible returns.
Created at 1 day ago
create branch
devnexen create branch strcmp_ret_changes
Created at 1 day ago
pull request opened
missing socket constants
Created at 1 day ago
create branch
devnexen create branch missing_sockets_constants
Created at 1 day ago