Skip to content

Instantly share code, notes, and snippets.

View Alireza-Razavi's full-sized avatar
🙏
Not in the mood

Alireza Razavi Alireza-Razavi

🙏
Not in the mood
  • FLAT Earth
View GitHub Profile
@Alireza-Razavi
Alireza-Razavi / Note.txt
Created October 20, 2022 16:23
Build static version of QT
---Requirements---
A computer to develop Qt applications with Qt and Qt Creator already installed;
A Windows 10 (64 bit) virtual machine to build a static version of Qt;
Qt source code: https://www.qt.io/offline-installers > Offline Installers > Source packages > For Windows users as a single zip file.
mingw-w64: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download
Perl (64 bit): http://strawberryperl.com/
Ruby (64 bit): https://rubyinstaller.org/downloads/
Python 2.7: https://www.python.org/downloads/
-------------------------------------------------
cd C:\qt-everywhere-src-x.xx.x
{
"comment": "Audit report for **2023-11-kelp** generated by *ubl4nk_bot*.",
"footnote": "Thanks for reading this report :)",
"findings": [
{
"description": "Some tokens, such as [USDT](https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7#code#L199), have a different implementation for the approve function: when the address is cast to a compliant `IERC20` interface and the approve function is used, it will always revert due to the interface mismatch.",
"severity": "Medium",
"title": "`approve` will always revert as the `IERC20` interface mismatch",
"instances": [
{
{"comment":"Audit report for **2023-11-panoptic** generated by *ubl4nk_bot*.","footnote":"Thanks for reading this report :)","findings":[{"severity":"Medium","title":"Usage of `slot0` is extremely easy to manipulate","description":"\n","gasSavings":null,"category":null,"instances":[{"content":"```solidity\nFile: contracts/SemiFungiblePositionManager.sol\n\n711: (, newTick, , , , , ) = univ3pool.slot0();\n\n775: (uint160 sqrtPriceX96, , , , , , ) = _univ3pool.slot0();\n```","loc":["[711](https://github.com/code-423n4/2023-11-panoptic/blob/2647928c33be4a58883110befd7fd065448478ef/contracts/SemiFungiblePositionManager.sol#L711)","[775](https://github.com/code-423n4/2023-11-panoptic/blob/2647928c33be4a58883110befd7fd065448478ef/contracts/SemiFungiblePositionManager.sol#L775)"]}]},{"severity":"Low","title":"Missing zero address check in functions with address parameters","description":"Adding a zero address check for each address type parameter can prevent errors.","gasSavings":null,"catego