Skip to content

Commit f6db8b0

Browse files
bb010gplafosse
authored andcommitted
Fix documentation around LLIL_MUL
`mul` is aligned with at least what x86 returns for tokens. Signed-off-by: Dusk Banks <me@bb010g.com>
1 parent 07dec29 commit f6db8b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

binaryninjaapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12224,7 +12224,7 @@ namespace BinaryNinja {
1222412224
\param b RHS expression
1222512225
\param flags Flags to set
1222612226
\param loc Optional IL Location this expression was added from.
12227-
\return The expression <tt>sbc.<size>{<flags>}(a, b)</tt>
12227+
\return The expression <tt>mul.<size>{<flags>}(a, b)</tt>
1222812228
*/
1222912229
ExprId Mult(
1223012230
size_t size, ExprId a, ExprId b, uint32_t flags = 0, const ILSourceLocation& loc = ILSourceLocation());

python/lowlevelil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4375,7 +4375,7 @@ def mult(
43754375
:param ExpressionIndex a: LHS expression
43764376
:param ExpressionIndex b: RHS expression
43774377
:param str flags: optional, flags to set
4378-
:return: The expression ``sbc.<size>{<flags>}(a, b)``
4378+
:return: The expression ``mul.<size>{<flags>}(a, b)``
43794379
:rtype: ExpressionIndex
43804380
"""
43814381
return self.expr(LowLevelILOperation.LLIL_MUL, a, b, size=size, flags=flags)

0 commit comments

Comments
 (0)