Permalink
Commits on Jan 29, 2017
  1. Fix #5898 (#6607)

    Not reloading sdb_types if editing env_vars results no change
    oddcoder committed on GitHub Jan 29, 2017
Commits on Jan 24, 2017
  1. reorganizing opcode for arm (#6569)

    oddcoder committed with Jan 24, 2017
Commits on Jan 22, 2017
  1. Rewriting t- cleanly (#6552)

    No segfaults, No leaking
    oddcoder committed on GitHub Jan 22, 2017
Commits on Jan 18, 2017
  1. enhancing aftm (#6529)

    Making type matching works on each basic block on its own thus
    increasing code coverage.
    Also reducing the verbosity level, and removing many useless printed
    data
    oddcoder committed on GitHub Jan 18, 2017
Commits on Dec 10, 2016
  1. fixing wrong definition if setvbuf (#6304)

    oddcoder committed on GitHub Dec 10, 2016
Commits on Nov 11, 2016
  1. FIX #59999 (#6182)

    it was shitty typo, but it helped finding another bug where
    r_anal_type_get_size never took arrays in concideration, not it should
    work well.
    oddcoder committed on GitHub Nov 11, 2016
Commits on Oct 23, 2016
  1. making .cc part of function definition optional (#6020)

    oddcoder committed on GitHub Oct 23, 2016
Commits on Oct 14, 2016
  1. saving/retireving functions stack in project file (#5973)

    oddcoder committed on GitHub Oct 14, 2016
Commits on Oct 6, 2016
  1. Fixing spaces in t* output (#5936)

    oddcoder committed on GitHub Oct 6, 2016
Commits on Sep 29, 2016
  1. fixing invalid json syntax (#5884)

    oddcoder committed with Sep 29, 2016
Commits on Sep 24, 2016
  1. Adding some more types (#5840)

    oddcoder committed with Sep 24, 2016
Commits on Sep 20, 2016
  1. Basic merge of no return function with types db (#5774)

    oddcoder committed with Sep 20, 2016
Commits on Sep 15, 2016
  1. asm.calls final tweakings / bug fixes (#5765)

    * Fixing asm.calls with zero argumnts
    * Fixing last broken bit of asm.calls
    * refactoring the added cdecl dbs
    * dsaf# Please enter the commit message for your changes. Lines starting
    oddcoder committed with Sep 15, 2016
Commits on Sep 14, 2016
  1. Making asm.calls true by default

    And fixing some of its output syntax issues
    oddcoder committed with Maijin Sep 14, 2016
  2. integrating asm.calls with function types database (#5761)

    Current unfixed issues:
    	works with aa, aaa,aaaa but never worked with af
    oddcoder committed with Sep 14, 2016
Commits on Sep 13, 2016
  1. merging afv* commands (#5753)

    Due to the uniqueness of name of arguments and variables, They can be
    used solely to identify every other piece of information (including the
    base register type).
    This will make the commands some how user friendly and more usable by removing one extra
    letter from some commands.
    oddcoder committed with Sep 13, 2016
Commits on Sep 11, 2016
  1. stack frame size for xtensa functions (#5734)

    oddcoder committed on GitHub Sep 11, 2016
Commits on Sep 4, 2016
  1. fixing bug in anal type matching

    It should stop its work if the calling convention is not found
    oddcoder committed on GitHub Sep 4, 2016
Commits on Aug 30, 2016
  1. Fixing nasty bug in CC implementation (#5650)

    That is not the kind of bug I see everyday
    1- calling convention db is loaded
    2- function cc types is initialized by project file, that string is only
    one copy across the whole database for memory efficiency.
    3- The db is reloaded due to change in arch or what ever, Old strings
    are freed and new one is created with totally new address. Most cases it
    just reload the same database.
    4- Addresses in function cc types are not updates, they are already
    freed at reloading db step
    
    Solution implemented at db reloading step:
    1- create new temp db with all possible available calling conventions and
    the adresses in memory of these calling conventions
    2- once db is reloaded, grab adress of cc from function, match it with
    the name in the new temp db, then replace it with the constant value
    from the newly loaded db
    oddcoder committed with Aug 30, 2016
Commits on Aug 29, 2016
  1. Initial support for afta command

    oddcoder committed with Aug 29, 2016
Commits on Aug 25, 2016
  1. Fixing coverties in anal_tp.c (#5606)

    CID 1361922
    CID 1361920
    oddcoder committed with Aug 25, 2016
  2. Fixing infinite loop issue (#5601)

    oddcoder committed with Aug 25, 2016
Commits on Aug 23, 2016
  1. Fixing more bugs in type matching (#5586)

    * Fixing more bugs in type matching
    * Adding functionality to restore ESIL env var state before aftm was issued
    oddcoder committed with Aug 23, 2016
Commits on Aug 22, 2016
  1. fixing bugs with tp (#5567)

    - Fixing (type matching with esil into non initialized stack)
    
    - FIXING CIDS in anal_tp.c and var.c
    
      - CID 1361741
      - CID 1361734
      - CID 1361731
    oddcoder committed with Aug 22, 2016
Commits on Aug 19, 2016
  1. Types docs (#5557)

    * Adding types documentation
    
    * refactoring and optimizing types databases
    
    All based on docs
    
    * fixing r_core_types_init
    
    Basically we needed to try all possible 7 combinatios of file name,
    I am not sure if there is a way to do that automatically.
    one extra thing, since this is init subroutine we should make sure
    that the db is already empty, when reloading this function
    (by changing env vars), it will be reloaded thus it needs a reset first.
    oddcoder committed with Maijin Aug 19, 2016
Commits on Aug 18, 2016
  1. adding option load types manually (#5550)

    oddcoder committed with Aug 18, 2016
Commits on Aug 15, 2016
  1. Fixing some aftm bugs and null dereferences (#5521)

    oddcoder committed with Aug 15, 2016
  2. Fixing Invalid address at var display (#5523)

    oddcoder committed with Aug 15, 2016
  3. Fixing coverity CIDs (#5516)

    fix CID 1361617
    Resource leaks (RESOURCE_LEAK)
    /libr/core/tp.c: 148 in stack_clean()
     Var iable "str" going out of scope leaks the storage it points to.
    
    fix CID 1361612
    Null pointer dereferences (NULL_RETURNS)
    /libr/core/tp.c: 178 in r_anal_type_match()
    Dereferencing a null pointer "op".
    
    fix CID 1361611
    /libr/anal/var.c: 112 in r_anal_var_retype()
    /libr/anal/var.c: 125 in r_anal_var_retype()
    Dereferencing a null pointer "fcn".
    
    fix CID 1361610
    Incorrect expression (IDENTICAL_BRANCHES)
    /libr/core/cmd_anal.c: 1616 in __anal_reg_list()
    Dereferencing null pointer "fcn".
    oddcoder committed with Aug 15, 2016
  4. Update types databases

    oddcoder committed with Aug 15, 2016
Commits on Aug 14, 2016
  1. Fix for function name decorators (oridinal, sym.blablabla) (#5488)

    implemented function guess matched name which finds longest function name in sdb_types that is substring of the current function name
    oddcoder committed with Aug 14, 2016
Commits on Aug 13, 2016
  1. initial support for type matching (#5480)

    Enabling stepping over
    Basic (sym.imp.*) call catching routines
    Fixing esil tracing bug and verbosity
    Adding some apis for handling function prototypes and abstacting sbd queries
    Fixing the double execusion bug in esil tracing
    passing types into vars for `stack`
    fixing trailing spaces
    doing the regester branch
    doing the stack_rev
    oddcoder committed with Aug 13, 2016
Commits on Aug 9, 2016
  1. fixing watcom calling convention

    oddcoder committed on GitHub Aug 9, 2016
Commits on Aug 8, 2016
  1. few enhancements for `afv` FIX #5459 (#5461)

    replacing afv[bsr]n  with afvn
    replacing negative sign `n` with `_`
    being consistent across the documentations (args + locals = vars)
    refactoring code
    oddcoder committed with Aug 8, 2016
Commits on Aug 7, 2016
  1. fixing aek- (#5454)

    according to `ae?`,  aek- is used to delete all esil->stats key/value pairs, but it wasn't actually implemented.
    oddcoder committed with Aug 7, 2016