MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / FloatConstSingle

Method FloatConstSingle

lowlevelilinstruction.cpp:3098–3107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3096
3097
3098ExprId LowLevelILFunction::FloatConstSingle(float val, const ILSourceLocation& loc)
3099{
3100 union
3101 {
3102 float f;
3103 uint32_t i;
3104 } bits;
3105 bits.f = val;
3106 return AddExprWithLocation(LLIL_FLOAT_CONST, loc, 4, 0, bits.i);
3107}
3108
3109
3110ExprId LowLevelILFunction::FloatConstDouble(double val, const ILSourceLocation& loc)

Callers 2

GetFloatFunction · 0.45
il.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected