We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeing some incomplete type on recompilation, e.g.:
incomplete type
mjs_recomp.c:202:99: error: field ‘sig’ has incomplete type typedef struct mjs_ffi_cb_args{ struct mjs_ffi_cb_args *next; struct mjs *mjs; struct mjs_ffi_sig sig; ulong_t func; ulong_t userdata;} mjs_ffi_cb_args; ^~~ mjs_recomp.c:214:133: error: field ‘u’ has incomplete type typedef struct json_out{ int (*printer)(struct json_out *, const char *, size_t); union json_out___A1907A2A5AD0AD422285F2D4DADB62AC u;} json_out;
Binary Duplication steps:
git clone [email protected]:pdreiter/mjs.git
cd mjs; make; cd ..
echo "mjs,mjs/build/mjs,mjs_get_cstring" >> target_list.0
python3 <PATH>/prd_multidecomp_ida.py --target_list target_list.0 --ouput_directory mjs_decomp --scriptpath <PATH>/get_ida_details.py
Recompile by :
cd mjs_decomp/mjs
wget -O Makefile.prd https://raw.githubusercontent.com/pdreiter/FuncRepair/master/tools/templates/Makefile.prd?token=GHSAT0AAAAAABNYWLLCU3LPWTC372UKWU4QYSIT27A
make -f Makefile.prd hook
I think reconstruction may be complicated due to function pointer types.
The text was updated successfully, but these errors were encountered:
pdreiter
No branches or pull requests
Seeing some
incomplete type
on recompilation, e.g.:Binary Duplication steps:
git clone [email protected]:pdreiter/mjs.git
cd mjs; make; cd ..
echo "mjs,mjs/build/mjs,mjs_get_cstring" >> target_list.0
python3 <PATH>/prd_multidecomp_ida.py --target_list target_list.0 --ouput_directory mjs_decomp --scriptpath <PATH>/get_ida_details.py
Recompile by :
cd mjs_decomp/mjs
wget -O Makefile.prd https://raw.githubusercontent.com/pdreiter/FuncRepair/master/tools/templates/Makefile.prd?token=GHSAT0AAAAAABNYWLLCU3LPWTC372UKWU4QYSIT27A
make -f Makefile.prd hook
I think reconstruction may be complicated due to function pointer types.
The text was updated successfully, but these errors were encountered: