Patrick Quist
93055c2b3c
support some AVR branch opcodes
2021-03-31 00:12:09 +02:00
partouf
892b67d15d
fix call to isJmpInstruction, 'this' not available from object for some reason
2021-03-30 21:24:04 +00:00
notyourav
2b231834d0
support for arm instructions in graph viewer ( #2530 )
2021-03-30 22:47:00 +02:00
Austin Morton
044dcfbf88
Use ES6 Modules ( #2132 )
2020-09-26 16:59:26 -04:00
Rubén Rincón Blanco and Austin Morton
ccff4b9ee5
Add new eslint rules ( #2121 )
...
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com >
2020-08-04 16:39:02 -04:00
RabsRincon
885aee1c63
Remove last remaining vars and fix formatting
2020-01-08 13:49:23 +01:00
Kārlis Seņko
304d135b3c
Filter non function symbols based on section.
2019-01-16 00:54:32 +02:00
Patrick Quist
b13bac115f
Merge pull request #1240 from karliss/llvm-cfg
...
Enable cfg for x86 LLVM based compilers and gcc.
2019-01-10 16:45:32 +01:00
Kārlis Seņko
1986a80691
Enable cfg for x86 LLVM based compilers and gcc.
2019-01-09 23:04:14 +02:00
Kārlis Seņko
40f6e0e1f1
Trim trailing whitespaces when removing comments.
2019-01-08 00:41:07 +02:00
Partouf
077460376c
fix #887
2018-11-07 01:58:58 +01:00
RabsRincon
7c18ffe8cf
Drop underscore-node in favour of underscore.js
...
After some suprises about how outdated the node version was compared to
the main project, it became clear we needed to do something.
@jaredwy suggested using the main project as there's now nothing
stopping us from using it after the switch to webpack.
cc @mattgodbolDrop underscore-node in favour of underscore.js
2018-06-15 15:04:55 +02:00
RabsRincon
6ef87b5ef9
Fix copyright dates and normalize text
2018-02-27 14:58:21 +01:00
RabsRincon
670afd8921
Move to ESLint
...
Somewhat compilant!
2018-02-13 14:49:07 +01:00
RabsRincon
62e68304e9
Format files
2018-02-07 23:58:21 +01:00
RabsRincon
80a7313e32
Improve CFG implementation
...
No longer creates the cfg nodes if not needed. CFG Structure creation
is now simpler. Some bugfixes. Tests now actually run
2018-01-15 19:16:15 +01:00
RabsRincon
fc75208dac
New year, new date
2018-01-01 16:44:04 +01:00
RabsRincon
9513de0adc
Mitigate #624
...
This does not fix the underlying cause (Trying to access an undefined
element). @cppchedy will look into it further, but is enough to
close the issue
Closes #624
2017-11-18 01:15:24 +01:00
Rubén
f691aaea78
Finish up Chedy's PR
...
Mostly formatting issues, but also few minor improvements
2017-10-17 03:51:00 +02:00
cppchedy
7cf0eaf2f1
fix of function filter
2017-10-13 22:55:18 +01:00
Rubén
f8cb1a58ff
Improve minor things in cfg code
2017-10-12 01:53:53 +02:00
Matt Godbolt
767351f5d4
Fixes #555
2017-10-06 08:26:26 -05:00
Rubén
d193739ecc
Bring every file up-to-format-date
2017-10-02 22:01:38 +02:00
Rubén
7957cefec2
Add minor changes to Cfg views. (CC @cppchedy)
2017-09-26 17:18:53 +02:00
cppchedy
f74b3c0f06
fix bug in basic block generation
2017-09-26 00:17:29 +01:00
cppchedy
747ee239c2
added test, resolved some reviews
2017-09-25 22:21:13 +01:00
cppchedy
3ae8673b6c
resolve other review comments
2017-09-25 14:59:16 +01:00
cppchedy
6da213f7ff
resolve review comments
2017-09-25 14:09:07 +01:00
cppchedy
13a9f8e1de
put the starting node of the current function in selected state. fix filter: deal with typeinfo, vtable ....
2017-09-21 17:24:09 +01:00
cppchedy
dcbd890e7e
variable name changed, comment deleted
2017-09-21 16:17:03 +01:00
cppchedy
848cf1b011
Guard against non cpp compilers
2017-09-20 11:52:19 +01:00
cppchedy
e51e8a128a
add semicolon
2017-09-20 11:40:34 +01:00
cppchedy
299edc3f75
fix bug
2017-09-20 11:36:43 +01:00
cppchedy
ef84c870aa
add support for clang for Cfg generation
2017-09-20 11:24:53 +01:00
cppchedy
baa9647332
support generation of Cfg structure when filter are not set
2017-09-20 08:42:31 +01:00
cppchedy
985741b548
fixed bug
2017-09-20 01:49:24 +01:00
cppchedy
3aa53d678c
other changes requested
2017-09-19 23:48:37 +01:00
cppchedy
e62b6d20a8
modified according to reviewers
2017-09-19 23:24:08 +01:00
cppchedy
4ac64ab503
change raw values to constant.
2017-09-19 19:30:11 +01:00
cppchedy
5994479fde
modified names of functions and variables to follow naming convention
2017-09-19 17:52:01 +01:00
cppchedy
58ae9a972e
removed logs
2017-09-19 17:06:27 +01:00
cppchedy
5e134471e0
add a button in Graph view to show/hide navigation buttons in the convas.
...
replace use bind instead of var self = this
2017-09-18 16:47:45 +01:00
cppchedy
baa5fa80c1
truncate long instruction
2017-09-18 00:28:22 +01:00
cppchedy
52a224e425
made fixes to pass test
2017-09-17 23:47:32 +01:00
cppchedy
345549a2b7
add missing semicolon
2017-09-17 23:25:00 +01:00
cppchedy
8878e2551a
Made changes to the structure of CFG to grab nodes and edges by function name.
...
the structure was two separated arrays for nodes and edges.
transformed to an object with keys as functions names and the associated values
are object containing function nodes and edges
2017-09-17 18:14:51 +01:00
cppchedy
212d605ff7
deledted all const and let key words and replaced for of with _.each
2017-09-16 22:47:50 +01:00
cppchedy
8daeb1cd78
Make Cfg view stay on current functions after a change of compiler
2017-09-16 21:08:25 +01:00
cppchedy
49b37c28b8
fixed code separation from data
2017-09-16 14:57:44 +01:00
cppchedy
39f7494a06
added initial support for visualizing Cfg of multiples functions
2017-09-16 03:19:40 +01:00