nowsecure / r2frida

Radare2 and Frida better together.
MIT License
1.19k stars 124 forks source link

Compilation failed on windows 10x64 #456

Closed unabomber78 closed 1 year ago

unabomber78 commented 1 year ago

Compiling the Compiler... r2frida-compile.c [ { 'category': <'error'>, 'code': <int64: 6053>, 'text': <"File 'C:/Users/User/.local/share/radare2/r2pm/git/r2frida/src/agent/index.js' not found.\n The file is in the program because:\n Root file specified for compilation"> } ] ERROR: compilation failed DONE WARN: CreateFileMapping: (0x3ee) The volume for a file has been externally altered so that the opened file is no longer valid.

HEADER DONE Compiling the Agent... cl /O2 /MT /nologo /LD /Gy /D_USRDLL /D_WINDLL /DFRIDA_VERSION_STRING="16.0.9" io_frida.c /I"C:\progs\radare2\include" /I"C:\progs\radare2\include\libr" /I"C:\progs\radare2\include\libr\sdb" /I"C:\Users\User.local\share\radare2\r2pm\git\r2frida\src" /I"C:\Users\User.local\share\radare2\r2pm\git\r2frida\src\frida" "C:\Users\User.local\share\radare2\r2pm\git\r2frida\src\frida\frida-core.lib" "C:\progs\radare2\lib*.lib" io_frida.c io_frida.c(130): error C2059: syntax error: ',' io_frida.c(917): warning C4034: sizeof returns 0 Compilation Failed

trufae commented 1 year ago

The Ci is silently failing 🤫 https://github.com/nowsecure/r2frida/actions/runs/4162373354/jobs/7201465777

So thanks for the headsup. ill take care of this

trufae commented 1 year ago

dupe of dupe of https://github.com/nowsecure/r2frida/issues/444 (there are 5 issues about r2frida not working on windows) when thats a known issue and probably a bug in frida, i'm slowly investigating the issue but i didnt managed to find the reason why the compiled scripts are not parsed properly by frida inside r2frida.