Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the '|| usage' in the triton shell script.
If an analyzed binary returns something like -1 (sometime it does), the usage message of the triton shell script is displayed - it should not. Below, an example of this wrong behavior. $ ./triton -startAnalysis check ./samples/crackmes/crackme_xor a [Start analysis] ... ----- Model ----- UNSAT ----------------- 0x4005b2 mov eax, 0x1 #20 = (_ bv1 32) 0x4005b7 jmp 0x4005c8 n/a 0x4005c8 pop rbp #21 = #1 #22 = (bvadd #0(_ bv8 64)) [Stop analysis] loose Triton binary analyzer usage: triton MODE [MODE_ARGS] EXEC [EXEC_ARGS]\n Available modes are: -startAnalysis <func_name> Start the analysis the scope of the function -detectFormatString Enable the format string detection analysis
- Loading branch information