Fix #5526 - Save function local flags in projects

This commit is contained in:
pancake 2016-08-15 20:47:46 +02:00
parent 213c6f29d1
commit f671097ea7
3 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,5 @@
/* radare - LGPL - Copyright 2009-2015 - pancake */
/* radare - LGPL - Copyright 2009-2016 - pancake */
#include "r_config.h"
#include "r_core.h"
#include "r_print.h"

View File

@ -397,6 +397,10 @@ R_API bool r_core_project_save_rdb(RCore *core, const char *file, int opts) {
r_core_cmd (core, "afl*", 0);
r_cons_flush ();
}
if (opts & R_CORE_PRJ_FLAGS) {
r_core_cmd (core, "f.*", 0);
r_cons_flush ();
}
if (opts & R_CORE_PRJ_DBG_BREAK) {
r_core_cmd (core, "db*", 0);
r_cons_flush ();

View File

@ -5,10 +5,10 @@ const exec = require('child_process').exec;
const spawn = require('child_process').spawn;
const AsciiTable = require('ascii-table');
const lastTag = '0.10.3';
const lastTag = '0.10.4';
const curVersion = '@'; //0.10.4';
const showOnlyFinalReport = true;
const codeName = 'Tooth';
const codeName = 'PreCon';
const topTen = 0;
const topFive = 999;