diff --git a/doc/calling-conventions.md b/doc/calling-conventions.md index 9a28a6dc79..e1c9c2d6e0 100644 --- a/doc/calling-conventions.md +++ b/doc/calling-conventions.md @@ -1,7 +1,7 @@ Calling Conventions profiles ============================ -Rizin uses calling conventions to help in identifying function formal arguments and return types. It is used also as guide for basic function prototype (WIP at the time of writing this wiki). +Rizin uses calling conventions to help in identifying function formal arguments and return types. It is used also as guide for basic function prototype. Profile grammar =============== @@ -13,7 +13,7 @@ Attribute list Note that you will substitute `x` for the calling convention name you will use. -`default.cc=x` : used to set the default calling convention used for all functions in `RzAnalysis` instance for which this key is set, string of this calling convention `"x"` will be returned for every call of `RZ_API const char *r_analysis_cc_default(RzAnalysis *analysis)`. +`default.cc=x` : used to set the default calling convention used for all functions in `RzAnalysis` instance for which this key is set, string of this calling convention `"x"` will be returned for every call of `RZ_API const char *rz_analysis_cc_default(RzAnalysis *analysis)`. `x=cc`: used to initialize calling convention (think of it as their is calling convention called x). @@ -34,6 +34,6 @@ In order to integrate the calling convention profile you created with the rizin - Store the unparsed sdb file in `path-to-rizin-source/librz/analysis/d`. - If you want the sdb to be loaded for specific architecture the file name should follow this convention `cc-arch-bits`, for example to create profile that loads automatically for x86 arch with 16 bits call the file `cc-x86-16` -- In the file `path-to-rizin-source/librz/analysis/d/makefile` add entry `F+= cc-arch-bits` with desired arch and bits and you should be ready to go. +- In the file `path-to-rizin-source/librz/analysis/d/meson.build` add entry `cc-arch-bits` with desired arch and bits and you should be ready to go. diff --git a/librz/bin/d/dll/makefile b/librz/bin/d/dll/makefile deleted file mode 100644 index 6c3455fee2..0000000000 --- a/librz/bin/d/dll/makefile +++ /dev/null @@ -1,8 +0,0 @@ -all: - #rz-bin -rs /tmp/ws2_32.dll | grep ^k| cut -d / -f 4- > ___WS2_32.sdb.txt - #rz-bin -rs /tmp/oleaut32.dll | grep ^k| cut -d / -f 4- > ___OLEAUT32.sdb.txt - #rz-bin -rs /tmp/wsock32.dll | grep ^k| cut -d / -f 4- > WSOCK32.sdb.txt - #rz-bin -rs /tmp/msi.dll | grep ^k| cut -d / -f 4- > MSI.sdb.txt - rz-bin -rs /tmp/csncdapi.dll | grep ^k| cut -d / -f 4- > CSNCDAPI.sdb.txt - rz-bin -rs /tmp/csmtpapi.dll | grep ^k| cut -d / -f 4- > CSMTPAPI.sdb.txt - rz-bin -rs /tmp/csftpapi.dll | grep ^k| cut -d / -f 4- > CSMFPAPI.sdb.txt