Skip to content
Snippets Groups Projects
Commit 944834eb authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

difficult debugging, found error: remainder not read back when

executing file.
parent 13004c8b
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,7 @@ namespace NOlm {
IterateO::IterateO( int mode ) :
pimpl( new MyIterate( mode ) )
{
cout << "DEBUG IterateO " << mode << ", size=" << size() << endl;
if ( !(mode & IterTOL) && !size() )
throw "empty file selection";
}
......
......@@ -73,11 +73,14 @@ void CFrida::execute_cmd( const string cmdline )
if ( j!=string::npos )
NMacro::push_remainder( cmdline.substr(j) );
string cmd = cmdline.substr( 0, j );
cout << "DEBUG '" << cmdline << "' -> '" << cmd << "'\n";
// Is it a list?
if ( cmd.find_first_of("-*0123456789")==0 ) {
cout << "SELTRY\n";
if( NOlm::sel_try( cmd ) )
return; // yes, it was a list
cout << "SELTRY: nop\n";
}
// Is it a command?
......
#!/usr/bin/env frida
fm 7 3 h
oy! (j+1)*i
fm 7 1 h
oy! i
0 oy y/y[1,0]
0-2 dp i==6
y[2,2,6]
0 oy 1
df
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment