Closed frankieliu closed 4 years ago
OS:
Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic
Boomerang version or git hash:
Error during compilation
Steps to reproduce:
during make -j$(nproc)
/home/adam/projects/bomb/boomerang/src/boomerang/ssl/statements/StatementHelper.cpp: In function ‘bool condToRelational(SharedExp&, BranchType)’: /home/adam/projects/bomb/boomerang/src/boomerang/ssl/statements/StatementHelper.cpp:149:96: error: null pointer dereference [-Werror=null-dereference] else if (flagsParam->getOper() != opBitAnd || !flagsParam->getSubExp2()->isIntConst()) {
Just to pass this null pointer dereference I removed the last flagsParam check, the rest compiled just fine.
OS:
Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic
Boomerang version or git hash:
Error during compilation
Steps to reproduce:
during make -j$(nproc)
/home/adam/projects/bomb/boomerang/src/boomerang/ssl/statements/StatementHelper.cpp: In function ‘bool condToRelational(SharedExp&, BranchType)’: /home/adam/projects/bomb/boomerang/src/boomerang/ssl/statements/StatementHelper.cpp:149:96: error: null pointer dereference [-Werror=null-dereference] else if (flagsParam->getOper() != opBitAnd || !flagsParam->getSubExp2()->isIntConst()) {