Skip to content

Commit

Permalink
Use pointer instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed Jul 18, 2018
1 parent c27d898 commit 0d7aa26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/libc.js
Expand Up @@ -15,8 +15,8 @@ var libcCommands = {
'getgid': sym('getgid', 'int', []),
'setuid': sym('setuid', 'int', ['int']),
'setgid': sym('setgid', 'int', ['int']),
'remove': sym('remove', 'int', ['string']),
'system': sym('system', 'int', ['string'])
'remove': sym('remove', 'int', ['pointer']),
'system': sym('system', 'int', ['pointer'])
};

r2frida.pluginRegister('libc', function(name) {
Expand Down

0 comments on commit 0d7aa26

Please sign in to comment.