Coder Social home page Coder Social logo

daikon-dot-net-front-end's People

Contributors

melonhead901 avatar mernst avatar twschiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

aastorg2

daikon-dot-net-front-end's Issues

Add support for pure functions

Allow users to specify pure functions in a file -- this as a command line 
argument.

Add instrumentation to execute these calls.

Original issue reported on code.google.com by [email protected] on 12 Jan 2012 at 10:28

Instrument multiple return locations

Instrument multiple return locations, with the program point hierarchy 
established have the single program point as parents.

Note that debug builds collapse return statements to the end of the function 
for debugging. Ignoring this for now.

Original issue reported on code.google.com by [email protected] on 6 Oct 2011 at 7:27

  • Blocking: #13

Optimize SampleStart counting

Instead of doing Math.Pow everytime store this in the occurenceCount map, this 
should probably map function name to pair where the first element is the 
occurencesCount as currently and the second element is the "every" value that 
is currently calculated in each pass. This would be updated wheenver 
oldOcurrences % frontEndArgs.SampleStart == 0.

This would require ample testing of ocurrenceCount, which doesn't currently 
exist.

Original issue reported on code.google.com by [email protected] on 6 Jan 2012 at 11:17

Real printing to STDOUT

Right now for STDOUT printing we write to a temp file and then read that tem 
file. This is because of the way our writer is set up. I don't know if you can 
grab a console for the writer.

Original issue reported on code.google.com by [email protected] on 4 Oct 2011 at 8:07

Implement program point recognition?

In Reflector.cs line 25 there's a TODO for implement program point recognition, 
but it's surrounded by dead code. Figure out what's going on here and handles 
as necessary.

Original issue reported on code.google.com by [email protected] on 5 Oct 2011 at 8:52

Add inheritance information to CLASS program points

From the daikon developer manual:
Second, between two classes that are related by inheritance, corresponding 
program points relate โ€” for example, java.util.Vector:::CLASS is a child of 
java.util.List:::CLASS.

Original issue reported on code.google.com by [email protected] on 16 Apr 2012 at 10:11

Tidy up InstrumentReturn signature

When we've determined how to implement multiple return locations, clean up the 
instrument return signature. Right now shouldHandleExceptions is always true at 
the only call site.

Original issue reported on code.google.com by [email protected] on 6 Oct 2011 at 7:33

  • Blocked on: #12

Allow multi-threading

Right now the program fails if there's multithreading -- change this so it's 
allowed.

Acquire a lock on the writer before we start inspecting any method, release the 
lock when we're done.


Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 8:20

Issue where we can't get a field that should exist

There are some weird cases where we can't load a field type for an object. This 
we weird because we use the same mechanism to determine which field types to 
load that we actually load the fields from. The GetFieldValue() method is a 
workaround for this but it can fail. For now we just return null, maybe make 
this nonsensical before a full fix is available.

Original issue reported on code.google.com by [email protected] on 14 Nov 2011 at 12:10

Change treat lists as arrays to be false.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 29 Feb 2012 at 11:59

Nested generic types broken?

Sample program:

    class Program
    {
        static void Main(string[] args)
        {
            var x = new LinkedList<LinkedList<Int32>>[10];
            Test(x);
        }

        static void Test(LinkedList<LinkedList<Int32>>[] advancedType)
        {

        }
    }

Successfully runs through the front end, but has a conversion error.

$ ./DotNetFrontEndLauncher AdvancedTypeTest.exe
Processing executable AdvancedTypeTest...
Argument processing complete
Couldn't convert type with assembly qualified name: 
System.Collections.Generic.LinkedList<System.Collections.Generic.LinkedList<Syst
em.Int32>>[], AdvancedTypeTest, Version=1.0.0.0, Culture=neutral, 
PublicKeyToken=null
Rewriting complete
Loading complete. Starting program.
Program complete. Exiting DNFE.

When running the resulting dtrace through Daikon, an exception is thrown:

$ daikon AdvancedTypeTest.dtrace
Daikon version 4.6.4, released June 23, 2010; http://pag.csail.mit.edu/daikon.
Processing trace data; reading 1 dtrace file:
Exception in thread "main" java.lang.Error: daikon.Daikon$TerminationMessage: 
Error at line 277 in file AdvancedTypeTest.dtrace: no ppt_tag_separator in 
'nonsensical'
        at daikon.FileIO.read_data_trace_files(FileIO.java:1016)
        at daikon.FileIO.read_data_trace_files(FileIO.java:980)
        at daikon.Daikon.process_data(Daikon.java:1823)
        at daikon.Daikon.mainHelper(Daikon.java:575)
        at daikon.Daikon.main(Daikon.java:454)
Caused by: daikon.Daikon$TerminationMessage: Error at line 277 in file 
AdvancedTypeTest.dtrace: no ppt_tag_separator in 'nonsensical'
        at daikon.FileIO.read_data_trace_record(FileIO.java:1674)
        at daikon.FileIO.read_data_trace_file(FileIO.java:1479)
        at daikon.FileIO.read_data_trace_files(FileIO.java:999)
        ... 4 more






Original issue reported on code.google.com by [email protected] on 19 Apr 2012 at 8:55

Implement comparability check

Implement comparability, right now we just print that all things are comparable.

This would probably involve adding a new map in ReflectionArgs.

A zero-feature approach would involve mapping at least each type to a unique 
integer.

A real approach would look at each type, use reflection to see if it implements 
IComparable, then check the generic to see what it's comparable to and match up 
the numbers in the table.

Original issue reported on code.google.com by [email protected] on 4 Oct 2011 at 8:53

This code causes an exception

namespace HelloWorld
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;

  public class AdvancedCollections
  {
    public static void Main(String[] args)
    {
      ArrayHolder holder = new ArrayHolder();

      List<int> intSet = new List<int>();
      intSet.Add(-1);
      intSet.Add(0);
      intSet.Add(1);
      holder.updateArray(intSet.ToArray());

      List<int> intSet2 = new List<int>();
      intSet2.Add(10);
      intSet2.Add(11);
      holder.updateArray(intSet2.ToArray());
    }
  }

  public class ArrayHolder
  {
    HashSet<int> baseArray;
    // TODO: Figure out what goes wrong with expanded array
    HashSet<int> expandedArray;

    public ArrayHolder()
    {
      this.baseArray = new HashSet<int>();
      this.expandedArray = new HashSet<int>();
    }

    public void updateArray(int[] integers)
    {
      this.baseArray.Clear();
      this.expandedArray.Clear();
      this.expandedArray.Add(integers[0] + 4);
      for (int i = 0; i < integers.Length; i++)
      {
        baseArray.Add(integers[i] + 5);
        expandedArray.Add(integers[i] + 5);
      }
      this.expandedArray.Add(integers[integers.Length - 1] + 6);
    }
  }
}

Original issue reported on code.google.com by [email protected] on 10 Apr 2012 at 10:25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.