mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Fix automatic function naming (#1942)
This commit is contained in:
parent
65c6dd31d6
commit
fd98694c9a
@ -1020,7 +1020,7 @@ QString CutterCore::createFunctionAt(RVA addr, QString name)
|
||||
{
|
||||
static const QRegularExpression regExp("[^a-zA-Z0-9_]");
|
||||
name.remove(regExp);
|
||||
QString command = "af " + name + " " + RAddressString(addr);
|
||||
QString command = "af " + name + " @ " + RAddressString(addr);
|
||||
QString ret = cmd(command);
|
||||
emit functionsChanged();
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user