path: root/src/bin/embryo (follow)
AgeCommit message (Collapse)Author
2020-08-05embryo_cc: ++safty codeShinwoo Kim
Summary: This patch is increasing safty code by handling following case. sc_compile > OH!! there is uninitialized loacal variable "outfname"!! > setopt > about > longjmp > setjmp returns 3 > goto cleanup > then uninitialized data is read from local variable "outfname". Reviewers: raster, Hermet, jsuya, herb Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-08-04embryo: fix a integer(cell) overflow problemYoungbok Shin
Summary: The most of functions for embryo based on cell(int) types. addvariable(), defsymbol(), modstk() and etc. Because of this, if embryo script has a really big(INT_MAX / 4) stack variable, integer overflow problem has been happened. @fix Test Plan: Put a script in your EDC like the following code. Build it and try to access the variable. Or check the writen HEX value by embryo_cc. script { // It's size is 1,000,000,000. // Remember, INT_MAX is 2,147,483,647. new my_big_variable[1000000000]; ... } Reviewers: cedric, woohyun, raster, eunue, SanghyeonLee Reviewed By: eunue, SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-06-23Get rid of trailing whitespace (1 / 14)Elyes HAOUAS
Remove trailing whitespace Differential Revision:
2019-10-18embryo: don't use sizeof() when strlen() is intendedMike Blumenkrantz
Summary: CID 1402617 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2019-05-20remove Evil.h when not necessary, include evil_private.h when necessaryVincent Torri
Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2019-01-28docs: Fix assorted typos in legacy documentationXavi Artigas
Samsung reported a long list of typos in our legacy docs, this fixes them.
2018-12-20cmake: remove!Marcel Hollerbach
This build was never complete and also was not maintained probebly. It is also dropped in favour of meson which is cool, merged, works & is fast. Differential Revision:
2018-11-09embryo_cc - warn - bigger buffer to avoid truncation warningCarsten Haitzler (Rasterman)
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <> Differential Revision: Depends on D7011
2018-02-17embryo:use new bs static libMarcel Hollerbach
2018-01-04efl: remove _MSC_VER (Visual Studio macro) usage in source codeVincent Torri
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
2017-07-29embryo_cc - remove pointless test for null byte and spaceCarsten Haitzler (Rasterman)
space wins. the nul byte test is pointless. not a bug but pointless code found by PVS studio
2017-07-24embryo_cc - be sensible about realloc returns so analysers are happyCarsten Haitzler (Rasterman)
assingto tmp var then assign to real one after a check to analysers dont complain.
2017-02-03ifdef RUN_IN_TREE logic.Gustavo Sverzut Barbieri
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
2017-01-26cmake: add embryo.Gustavo Sverzut Barbieri
2016-09-20embryo : Prevent buffer overflow in embryo_cc_sc2JEONGHYUN YUN
Reviewers: jypark Reviewed By: jypark Subscribers: cedric, jpeg Differential Revision:
2016-09-12embryo_cc: fix memory overflow in strWooHyun Jung
After for-loop i can have value 11. So the str should be longer than 11. @fix
2016-08-06embryo_cc - fix coverity complaint about assertCarsten Haitzler (Rasterman)
fix assert using a strance assert syntax and go back to basic asserts. fix coverity CID 1361224 @fix
2016-07-13embro_cc: Shut up some coverity warningJean-Philippe Andre
CID 1039677 1039678 1039679 The expression's value does not depend on the operands; often, this represents an inadvertent logic error. In doarg: An operation with non-constant operands that computes a result with constant value (CWE-569) cell is defined as an int, not a long, so it can't be > INT_MAX.
2016-07-11embryo_cc: Buffer overflow check.Umesh Tanwar
Summary: A string is copied to the array '&symbolname[0]' of size 32, without checking it's length at first at embryo_cc_sc1.c:2101. So, used assert to avoid possible overflow. Signed-off-by: Umesh Tanwar <> Reviewers: Hermet, cedric, raster Reviewed By: raster Subscribers: singh.amitesh, jpeg Differential Revision:
2015-12-05efl: add binary mode to fdopen() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <>
2015-05-27embryo_cc: prevent memory curruptionjiin.moon
Summary: modified codes according to prevent result, @fix Reviewers: Jaehyun, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2015-01-29embryo_cc_sc2.c: prevent memory corruption.woochan lee
Summary: Modified code to following coverity result. (overflow the memory access.) @fix Reviewers: raster, Hermet Reviewed By: Hermet Subscribers: cedric Differential Revision:
2015-01-26embryo: prevent useless assignment.woochan lee
Summary: In the if case 's1[]19 = 0' state looks meaningless. Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-10-28Embryo: Use strncpy instead of strcpy in a few placesJean-Philippe Andre
There are still lots of unsafe uses of strcpy, strcat, etc... Dunno if they are relevant though. Also, assert() may be compiled out at build time (release mode) so don't rely on it for safety. Fixes CID 1039593
2014-09-01embryo_cc - fix symbol writeCarsten Haitzler (Rasterman)
this fixes an actual bug coverity found in embryo_cc fix CID 1039650
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039594
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039593
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039592
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039591
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039590
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039589
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039588
2014-09-01embryo_cc - fix possible buffer overrunCarsten Haitzler (Rasterman)
fix CID 1039587
2014-09-01embryo_cc - fix buffer overrun possibilityCarsten Haitzler (Rasterman)
fix CID 1039586
2014-09-01embryo_cc - fix coverity buffer complaintCarsten Haitzler (Rasterman)
this isnt an actual problem, but best it never comes around again. fix CID 1039585
2014-08-27embryo_cc - remove useless check against always-there arrayCarsten Haitzler (Rasterman)
fix CID 1039345
2014-08-27embryo_cc - fix bunch of unchecked fseeksCarsten Haitzler (Rasterman)
this fixes CID 996788
2014-08-22embryo_cc - fix usless array checkCarsten Haitzler (Rasterman)
fix CID 1039346
2014-08-22embryo_cc - fix uselss array existance checkCarsten Haitzler (Rasterman)
fix CID 1039345
2014-08-22embryo_cc - check fseeek return and complainCarsten Haitzler (Rasterman)
fixes CID 996788
2014-08-14embryo_cc - check return valueCarsten Haitzler (Rasterman)
this matches the check for fgetpos()
2014-08-14embryo_cc - fix return value checkingCarsten Haitzler (Rasterman)
fixes CID 1039712
2014-08-14embryo_cc - make assert clearerCarsten Haitzler (Rasterman)
this fixes coverity warning CID 1039730
2014-08-13embyro-cc - fix coverity overruun issueCarsten Haitzler (Rasterman)
overrun in fatal msg access - fix CID 1039315
2014-08-13embryo_cc - coverity mem access issue - fixCarsten Haitzler (Rasterman)
this fixes CID 1039316 in case error num is beyond errmsg bounds
2014-08-13embryo_cc - fix coverity buffer overrunCarsten Haitzler (Rasterman)
fixes CID 1039317
2014-01-24embryo: force the insertion of a '/' in the path to be sure that file path ↵Cedric BAIL
make sense.
2014-01-23embryo_cc - remove trainling / from path for windows stat so it worksCarsten Haitzler (Rasterman)