You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILED: _rizin.cpython-38-x86_64-linux-gnu.so.p/meson-generated_.._rizin_wrap.cxx.o
c++ -I_rizin.cpython-38-x86_64-linux-gnu.so.p -I. -I.. -I/opt/_internal/cpython-3.8.20/include/python3.8 -I/usr/local/include/librz -I/usr/local/include/librz/sdb -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fPIC -MD -MQ _rizin.cpython-38-x86_64-linux-gnu.so.p/meson-generated_.._rizin_wrap.cxx.o -MF _rizin.cpython-38-x86_64-linux-gnu.so.p/meson-generated_.._rizin_wrap.cxx.o.d -o _rizin.cpython-38-x86_64-linux-gnu.so.p/meson-generated_.._rizin_wrap.cxx.o -c rizin_wrap.cxx
rizin_wrap.cxx: In function 'PyObject* _wrap_RzBuffer_fwd_scan(PyObject*, PyObject*)':
rizin_wrap.cxx:77903:31: error: invalid operands of types 'long long unsigned int' and 'std::nullptr_t' to binary 'operator!='
77903 | SWIG_contract_assert((result!=NULL), "Contract violation: require: (result!=NULL)");
| ^
rizin_wrap.cxx:3153:52: note: in definition of macro 'SWIG_contract_assert'
3153 | #define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
| ^~~~
If we check the function in question, it has this code:
typedefut64 (*RzBufferFwdScan)(RZ_BORROWRZ_NONNULLconstut8*buf, ut64len, RZ_NULLABLEvoid*user);
RZ_APIut64rz_buf_fwd_scan(RZ_NONNULLRzBuffer*b, ut64start, ut64amount, RZ_NONNULLRzBufferFwdScanfwd_scan, RZ_NULLABLEvoid*user);
/** * \brief Scans buffer linearly in chunks calling \p fwd_scan for each chunk. * * \param b RzBuffer to read * \param start Start address * \param amount Amount of bytes to read * \param fwd_scan Function to call for each chunk * \param user User data to pass to fwd_scan * \return Number of bytes read */RZ_APIut64rz_buf_fwd_scan(RZ_NONNULLRzBuffer*b, ut64start, ut64amount, RZ_NONNULLRzBufferFwdScanfwd_scan, RZ_NULLABLEvoid*user) {
rz_return_val_if_fail(b&&fwd_scan, 0);
if (!amount) {
return0;
}
...
}
The text was updated successfully, but these errors were encountered:
If we check the function in question, it has this code:
The text was updated successfully, but these errors were encountered: