Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Small improvements #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/Debug/
/Release/
.idea/
.vs
14 changes: 13 additions & 1 deletion de4dot-x64/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,22 @@ You should have received a copy of the GNU General Public License
along with de4dot. If not, see <http://www.gnu.org/licenses/>.
*/

using System;

namespace de4dot_x64 {
class Program {
static int Main(string[] args) {
return de4dot.cui.Program.Main(args);
int returnValue = 0;
try
{
returnValue = de4dot.cui.Program.Main(args);
}
catch (Exception ex)
{
Console.WriteLine(ex);
}

return returnValue;
}
}
}
19 changes: 16 additions & 3 deletions de4dot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,23 @@ You should have received a copy of the GNU General Public License
along with de4dot. If not, see <http://www.gnu.org/licenses/>.
*/

using System;

namespace de4dot_x86 {
class Program {
static int Main(string[] args) {
return de4dot.cui.Program.Main(args);
}
static int Main(string[] args)
{
int returnValue = 0;
try
{
returnValue = de4dot.cui.Program.Main(args);
}
catch (Exception ex)
{
Console.WriteLine(ex);
}

return returnValue;
}
}
}