ravi icon indicating copy to clipboard operation
ravi copied to clipboard

Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers

Results 98 ravi issues
Sort by recently updated
recently updated
newest added

``` function x(a: integer, b: integer[]) local a1 = a[0] end ``` It should not be possible to index an variable that is marked as integer. This will fail at...

fixed

Hello, I was using American Fuzzy Lop (afl-fuzz) to fuzz input to the `ravi` program on Linux. Is fixing the crashes from these input files something you're interested in? The...

fixed

If an integer or number array is accessed through an upvalue, the type of the result will be the same as the array, since the handling case in `luaK_dischargevars` does...

bug
fixed

On Windows there is occasionally a crash when Lua attempts a Longjmp because an error has been raised. Windows complains about misaligned or invalid stack. The error does not occur...

bug
wontfix
LLVM
discontinued

A few things I have been thinking about doing for a while: - [x] Only keep public header files in include folder - [ ] Create a separate source file...

There is an integer overflow in `ravi_create_slice` at: https://github.com/dibyendumajumdar/ravi/blob/56a59a1f3117a8bc88206305b94398678de1bdff/src/lapi.c#L903 This can result in slices with a length or index that exceeds that of the parent as can be seen in...

bug
fixed

There is an integer overflow in `raviH_new_integer_array` at https://github.com/dibyendumajumdar/ravi/blob/56a59a1f3117a8bc88206305b94398678de1bdff/src/ltable.c#L893 When the requested array size is `0xFFFFFFFF` the array being allocated is of size 0 but the initialization will segfault as...

bug
fixed

In the case where BNOT receives a float as input, it will deduce that the output is a float too. However, this is wrong since at runtime BNOT will cast...

bug
fixed

The return type for LEN is wrong if the `__len` metamethod for floats or integers is overwritten and the length from an array element from a ravi array is taken....

bug
fixed